aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-05-20 14:40:36 +0000
committerMax Horn2002-05-20 14:40:36 +0000
commit3035a307dcaa188740d08fac81bdf950fe005eb6 (patch)
tree1bb0fdf7e9102a30e57719c7173e3502b2d433c0
parentcb150cd11db05aeb25afa5f835d61325851bcd09 (diff)
downloadscummvm-rg350-3035a307dcaa188740d08fac81bdf950fe005eb6.tar.gz
scummvm-rg350-3035a307dcaa188740d08fac81bdf950fe005eb6.tar.bz2
scummvm-rg350-3035a307dcaa188740d08fac81bdf950fe005eb6.zip
added isInCurrentRoom() method to class Actor
svn-id: r4361
-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