aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-29 06:35:57 +0100
committerTobias Gunkel2012-02-11 08:29:49 +0100
commitf5faa4554defa2e220f3b0507c8fefb8f13182c6 (patch)
tree506a0d520e9cd9bb1093395675a0e8bb9ec5cd2e
parente33d41035cfbdf81c0178730bec1ed3eb36d7ef7 (diff)
downloadscummvm-rg350-f5faa4554defa2e220f3b0507c8fefb8f13182c6.tar.gz
scummvm-rg350-f5faa4554defa2e220f3b0507c8fefb8f13182c6.tar.bz2
scummvm-rg350-f5faa4554defa2e220f3b0507c8fefb8f13182c6.zip
SCUMM: isPlayer() is not supported by engine v0
-rw-r--r--engines/scumm/actor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index f0ba79b98d..c2390ab4b0 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -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);
}