From f5faa4554defa2e220f3b0507c8fefb8f13182c6 Mon Sep 17 00:00:00 2001 From: Tobias Gunkel Date: Sun, 29 Jan 2012 06:35:57 +0100 Subject: SCUMM: isPlayer() is not supported by engine v0 --- engines/scumm/actor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/scumm') 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); } -- cgit v1.2.3