aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime_game.cpp
diff options
context:
space:
mode:
authorAlyssa Milburn2011-01-22 21:22:29 +0000
committerAlyssa Milburn2011-01-22 21:22:29 +0000
commitbbfbb7e74a8a5db2a808e03df8076125371300f7 (patch)
tree47e3b6a5a1dd2cfc3ac12c022e9b679d3526578f /engines/mohawk/cstime_game.cpp
parentbfe0307300a36042e7b82fcc3275d317126b3af4 (diff)
downloadscummvm-rg350-bbfbb7e74a8a5db2a808e03df8076125371300f7.tar.gz
scummvm-rg350-bbfbb7e74a8a5db2a808e03df8076125371300f7.tar.bz2
scummvm-rg350-bbfbb7e74a8a5db2a808e03df8076125371300f7.zip
MOHAWK: Minor CSTimeChar bugfixes.
svn-id: r55446
Diffstat (limited to 'engines/mohawk/cstime_game.cpp')
-rw-r--r--engines/mohawk/cstime_game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/cstime_game.cpp b/engines/mohawk/cstime_game.cpp
index 05f2c36125..5dfc9c4cf6 100644
--- a/engines/mohawk/cstime_game.cpp
+++ b/engines/mohawk/cstime_game.cpp
@@ -171,7 +171,7 @@ void CSTimeChar::setupRestPos() {
return;
if (!_restFeature) {
- uint id = 0; // FIXME
+ uint id = _enabled ? 0 : 13;
uint32 flags = kFeatureSortStatic | kFeatureNewNoLoop | kFeatureNewDisableOnReset;
Feature *feature = _vm->getView()->installViewFeature(getChrBaseId() + id, flags, NULL);
// FIXME: fix priorities
@@ -192,7 +192,7 @@ void CSTimeChar::removeChr() {
_vm->getView()->removeFeature(_talkFeature3, true);
if (_talkFeature1)
_vm->getView()->removeFeature(_talkFeature1, true);
- if (_unknown1 > 1)
+ if (_talkFeature2) // original checks unknown1 > 1, but this is silly when e.g. _enabled is false
_vm->getView()->removeFeature(_talkFeature2, true);
}