[Scummvm-cvs-logs] SF.net SVN: scummvm:[48383] scummvm/trunk/engines/teenagent/teenagent.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Wed Mar 24 20:34:58 CET 2010
Revision: 48383
http://scummvm.svn.sourceforge.net/scummvm/?rev=48383&view=rev
Author: megath
Date: 2010-03-24 19:34:58 +0000 (Wed, 24 Mar 2010)
Log Message:
-----------
validate path before examining object
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/teenagent.cpp
Modified: scummvm/trunk/engines/teenagent/teenagent.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/teenagent.cpp 2010-03-24 19:34:08 UTC (rev 48382)
+++ scummvm/trunk/engines/teenagent/teenagent.cpp 2010-03-24 19:34:58 UTC (rev 48383)
@@ -145,7 +145,7 @@
debug(0, "click %d, %d, object %d, %d", point.x, point.y, dst.x, dst.y);
action = kActionExamine;
if (object->actor_rect.valid())
- scene->moveTo(dst, object->actor_orientation);
+ scene->moveTo(dst, object->actor_orientation, true); //validate examine message. Original engine does not let you into walkboxes
dst_object = object;
} else if (!scene_busy) {
//do not reset anything while scene is busy, but allow interrupts while walking.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list