aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-03-06 16:33:37 +1100
committerPaul Gilbert2011-03-06 16:33:37 +1100
commita658c4b30a7d0a911f8d40675875c3d9a95e5139 (patch)
treec014cb76560f5ead01b5c0452df8368e7d71231f /engines/tsage
parente51fd00f0c87d31a4cd4a249923689948e1171c5 (diff)
downloadscummvm-rg350-a658c4b30a7d0a911f8d40675875c3d9a95e5139.tar.gz
scummvm-rg350-a658c4b30a7d0a911f8d40675875c3d9a95e5139.tar.bz2
scummvm-rg350-a658c4b30a7d0a911f8d40675875c3d9a95e5139.zip
TSAGE: Bugfix for correctly erasing on-screen text when it gets removed
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 1d5946571d..d4c4caacdf 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -1385,7 +1385,7 @@ void SceneItem::display(int resNum, int lineNum, ...) {
Common::String msg = !resNum ? Common::String() : _vm->_dataManager->getMessage(resNum, lineNum);
if (_globals->_sceneObjects->contains(&_globals->_sceneText)) {
- _globals->_sceneObjects->remove(&_globals->_sceneText);
+ _globals->_sceneText.remove();
_globals->_sceneObjects->draw();
}