aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/actor.h b/actor.h
index 752110f191..b250012c28 100644
--- a/actor.h
+++ b/actor.h
@@ -124,6 +124,8 @@ public:
void remapActor(int b, int c, int d, int e);
void walkActorOld();
+
+ bool isInCurrentRoom() { return room == _scumm->_currentRoom; }
};
#endif