aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index b3f8458121..7b9bad67fd 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1462,7 +1462,7 @@ void Scumm_v5::o5_putActorInRoom() {
a = derefActor(act, "o5_putActorInRoom");
- if (_gameId & GID_MONKEY_EGA) {
+ if (_gameId == GID_MONKEY_EGA || _gameId == GID_MONKEY_VGA) {
if (room == 0 && a->room != _currentRoom && a->room != room && _currentRoom != room) {
warning ("o5_putActorInRoom (%d [%d], %d) ignored", act, a->room, room);
return;