aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/script_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index f3e3e63dae..156a09c308 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -378,7 +378,7 @@ const char *Scumm_v6::getOpcodeDesc(byte i) {
int Scumm_v6::popRoomAndObj(int *room) {
int obj;
- if (_features & GF_HAS_ROOMTABLE) {
+ if (_features & GF_AFTER_V7) {
obj = pop();
*room = getObjectRoom(obj);
} else {