diff options
author | Nicola Mettifogo | 2008-07-28 14:23:49 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-07-28 14:23:49 +0000 |
commit | ec04a81e81615fed1b10f1887ada097365a97a84 (patch) | |
tree | 74fc79a6717faa7b43a9c9bd23b4e0c0306ad6bf /engines/parallaction | |
parent | 30d943fe2f18df9677225ab7a92ddc6b2a42062b (diff) | |
download | scummvm-rg350-ec04a81e81615fed1b10f1887ada097365a97a84.tar.gz scummvm-rg350-ec04a81e81615fed1b10f1887ada097365a97a84.tar.bz2 scummvm-rg350-ec04a81e81615fed1b10f1887ada097365a97a84.zip |
Yet another hack to deal with labels... Must rethink this crap from scratch.
svn-id: r33377
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/parallaction_br.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction_br.cpp b/engines/parallaction/parallaction_br.cpp index efdf0d06b4..b5fb2fa3bb 100644 --- a/engines/parallaction/parallaction_br.cpp +++ b/engines/parallaction/parallaction_br.cpp @@ -265,6 +265,9 @@ void Parallaction_br::changeLocation(char *location) { clearSubtitles(); freeBackground(); _gfx->clearGfxObjects(kGfxObjNormal); + _gfx->freeLabels(); + _subtitle[0] = _subtitle[1] = -1; + _location._programs.clear(); _location._animations.remove(_char._ani); |