[Scummvm-cvs-logs] SF.net SVN: scummvm: [30039] scummvm/branches/branch-0-11-0/engines/lure/ hotspots.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Fri Dec 28 08:49:36 CET 2007
Revision: 30039
http://scummvm.svn.sourceforge.net/scummvm/?rev=30039&view=rev
Author: dreammaster
Date: 2007-12-27 23:49:36 -0800 (Thu, 27 Dec 2007)
Log Message:
-----------
Bugfix to correctly display a message when a used item is no longer in the room
Modified Paths:
--------------
scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp
Modified: scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp
===================================================================
--- scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp 2007-12-28 07:49:10 UTC (rev 30038)
+++ scummvm/branches/branch-0-11-0/engines/lure/hotspots.cpp 2007-12-28 07:49:36 UTC (rev 30039)
@@ -938,9 +938,9 @@
if (getBarPlace() == BP_KEEP_TRYING)
return PC_WAIT;
} else if (hotspot->roomNumber != roomNumber()) {
- // loc_884
- if (actionCtr() == 0)
- converse(NOONE_ID, 0);
+ // Object is not in the same room
+ if (actionCtr() == 0)
+ showMessage(0, hotspot->hotspotId);
setActionCtr(0);
return PC_NOT_IN_ROOM;
} else if (actionCtr() != 0) {
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