aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/cstime.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.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.cpp')
-rw-r--r--engines/mohawk/cstime.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/mohawk/cstime.cpp b/engines/mohawk/cstime.cpp
index 44c61176be..f4eeb99020 100644
--- a/engines/mohawk/cstime.cpp
+++ b/engines/mohawk/cstime.cpp
@@ -424,9 +424,8 @@ void MohawkEngine_CSTime::triggerEvent(CSTimeEvent &event) {
case kCSTimeEventCharStartFlapping:
{
CSTimeChar *chr = _case->getCurrScene()->getChar(event.param1);
- if (!chr->_enabled) {
- // FIXME
- warning("chr not enabled in kCSTimeEventCharStartFlapping");
+ if (!chr->_unknown2) {
+ _case->getCurrScene()->_activeChar->_flappingState = 0;
break;
}