aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-07-06 11:17:14 +0000
committerTravis Howell2006-07-06 11:17:14 +0000
commit4bbdf9daae811be8394818aaea7c659592a33a4e (patch)
tree3cc2d3d228e3fb2bcfaaba6bb2d4222352958844 /engines/scumm/actor.cpp
parent31fa4fbad82a0870941c1eac42d796b84b5c9360 (diff)
downloadscummvm-rg350-4bbdf9daae811be8394818aaea7c659592a33a4e.tar.gz
scummvm-rg350-4bbdf9daae811be8394818aaea7c659592a33a4e.tar.bz2
scummvm-rg350-4bbdf9daae811be8394818aaea7c659592a33a4e.zip
Fix 1506002 - PUTTTIME: Weird Mouth Movement
svn-id: r23374
Diffstat (limited to 'engines/scumm/actor.cpp')
-rw-r--r--engines/scumm/actor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 7964d0b6cc..a69760cb1f 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -2022,7 +2022,7 @@ bool Actor::isPlayer() {
}
void Actor::setUserCondition(int slot, int set) {
- const int condMaskCode = (_vm->_game.heversion >= 90) ? 0x1FFF : 0x3FF;
+ const int condMaskCode = (_vm->_game.heversion >= 85) ? 0x1FFF : 0x3FF;
checkRange(32, 1, slot, "Condition %d out of range");
if (set == 0) {
_heCondMask &= ~(1 << (slot + 0xF));
@@ -2042,7 +2042,7 @@ bool Actor::isUserConditionSet(int slot) const {
}
void Actor::setTalkCondition(int slot) {
- const int condMaskCode = (_vm->_game.heversion >= 90) ? 0x1FFF : 0x3FF;
+ const int condMaskCode = (_vm->_game.heversion >= 85) ? 0x1FFF : 0x3FF;
checkRange(32, 1, slot, "Condition %d out of range");
_heCondMask = (_heCondMask & ~condMaskCode) | 1;
if (slot != 1) {