[Scummvm-cvs-logs] SF.net SVN: scummvm:[47069] scummvm/trunk/engines/teenagent/teenagent.cpp
megath at users.sourceforge.net
megath at users.sourceforge.net
Wed Jan 6 11:11:38 CET 2010
Revision: 47069
http://scummvm.svn.sourceforge.net/scummvm/?rev=47069&view=rev
Author: megath
Date: 2010-01-06 10:11:38 +0000 (Wed, 06 Jan 2010)
Log Message:
-----------
do not interrupt any actions (test for wii)
Modified Paths:
--------------
scummvm/trunk/engines/teenagent/teenagent.cpp
Modified: scummvm/trunk/engines/teenagent/teenagent.cpp
===================================================================
--- scummvm/trunk/engines/teenagent/teenagent.cpp 2010-01-06 09:38:56 UTC (rev 47068)
+++ scummvm/trunk/engines/teenagent/teenagent.cpp 2010-01-06 10:11:38 UTC (rev 47069)
@@ -146,7 +146,8 @@
if (object->actor_rect.valid())
scene->moveTo(dst, object->actor_orientation);
dst_object = object;
- } else {
+ } else if (!scene_busy || action == kActionNone) {
+ //do not reset anything while scene is busy, but allow interrupts while walking.
debug(0, "click %d, %d", point.x, point.y);
action = kActionNone;
scene->moveTo(point, 0, true);
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