[Scummvm-cvs-logs] CVS: scummvm actor.h,1.4,1.5

Max Horn fingolfin at users.sourceforge.net
Mon May 20 07:41:04 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv13534

Modified Files:
	actor.h 
Log Message:
added isInCurrentRoom() method to class Actor

Index: actor.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/actor.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- actor.h	19 May 2002 12:39:52 -0000	1.4
+++ actor.h	20 May 2002 14:40:36 -0000	1.5
@@ -124,6 +124,8 @@
 	
 	void remapActor(int b, int c, int d, int e);
 	void walkActorOld();
+	
+	bool isInCurrentRoom()	{ return room == _scumm->_currentRoom; }
 };
 
 #endif





More information about the Scummvm-git-logs mailing list