Skip to content

Commit

Permalink
SCUMM: isPlayer() is not supported by engine v0
Browse files Browse the repository at this point in the history
  • Loading branch information
tobigun committed Feb 11, 2012
1 parent e33d410 commit f5faa45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/scumm/actor.cpp
Expand Up @@ -2620,6 +2620,8 @@ bool Actor::isPlayer() {
}

bool Actor_v2::isPlayer() {
// isPlayer() is not supported by v0
assert(_vm->_game.version != 0);
return _vm->VAR(42) <= _number && _number <= _vm->VAR(43);
}

Expand Down

0 comments on commit f5faa45

Please sign in to comment.