aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-03-12 23:33:59 +1100
committerPaul Gilbert2011-03-12 23:33:59 +1100
commit3148f9264cf92fefcabecbd83505af39b8ec77dc (patch)
tree4bd1cf08387d7ce289cddb15daba65972da225b1 /engines/tsage
parentfc3a7b961c80310e283aadc9174c3bd63827d260 (diff)
downloadscummvm-rg350-3148f9264cf92fefcabecbd83505af39b8ec77dc.tar.gz
scummvm-rg350-3148f9264cf92fefcabecbd83505af39b8ec77dc.tar.bz2
scummvm-rg350-3148f9264cf92fefcabecbd83505af39b8ec77dc.zip
TSAGE: Bugfix to refresh the screen when leaving a close-up conversation
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/converse.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp
index 129704221e..c253cc79c5 100644
--- a/engines/tsage/converse.cpp
+++ b/engines/tsage/converse.cpp
@@ -619,8 +619,7 @@ void StripManager::synchronise(Serialiser &s) {
for (int i = 0; i < arrSize; ++i)
SYNC_POINTER(_speakerList[i]);
- // TODO: Properly handle the callback function
- warning("TODO: StripManager::synchronise::fnCallback");
+ SYNC_POINTER(_callbackObject);
}
void StripManager::remove() {
@@ -697,7 +696,7 @@ void StripManager::signal() {
_activeSpeaker->remove();
_activeSpeaker = speakerP;
- if ((_activeSpeaker->_newSceneNumber == -1) && (_globals->_sceneManager._sceneNumber != _sceneNumber)) {
+ if ((_activeSpeaker->_newSceneNumber == -1) && (_globals->_sceneManager._scene->_sceneNumber != _sceneNumber)) {
_globals->_sceneManager._scene->_sceneBounds = _sceneBounds;
_globals->_sceneManager._scene->loadScene(_sceneNumber);
}