aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/exec_br.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-02 01:41:08 +0000
committerNicola Mettifogo2008-07-02 01:41:08 +0000
commit77a60673ef970ec32fc2e4db09aa5ac534481c8d (patch)
tree59daad1f93637db2644f75c6481c003873e6bb7b /engines/parallaction/exec_br.cpp
parent6dc312b9e1ffbfc92452ebdeee8f3f703f07f7fa (diff)
downloadscummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.tar.gz
scummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.tar.bz2
scummvm-rg350-77a60673ef970ec32fc2e4db09aa5ac534481c8d.zip
- Changed labels to be GfxObj's, thus removing the Label object altogether.
- Changed Item's to be almost GfxObj's, since ownership and destruction of underlying resource is an issue here (got to think some more about it). svn-id: r32873
Diffstat (limited to 'engines/parallaction/exec_br.cpp')
-rw-r--r--engines/parallaction/exec_br.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/exec_br.cpp b/engines/parallaction/exec_br.cpp
index 3b67b4c370..348af2b731 100644
--- a/engines/parallaction/exec_br.cpp
+++ b/engines/parallaction/exec_br.cpp
@@ -100,8 +100,8 @@ void Parallaction_br::setupSubtitles(char *s, char *s2, int y) {
}
void Parallaction_br::clearSubtitles() {
- _gfx->freeLabels();
- _subtitle[0] = _subtitle[1] = -1;
+ _gfx->hideLabel(_subtitle[0]);
+ _gfx->hideLabel(_subtitle[1]);
}