[Scummvm-cvs-logs] SF.net SVN: scummvm: [23691] scummvm/trunk/engines/lure/scripts.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Mon Aug 7 15:19:19 CEST 2006
Revision: 23691
Author: dreammaster
Date: 2006-08-07 06:19:10 -0700 (Mon, 07 Aug 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23691&view=rev
Log Message:
-----------
Fixed displayMessage script method to use the new Hotspot::showMessage
Modified Paths:
--------------
scummvm/trunk/engines/lure/scripts.cpp
Modified: scummvm/trunk/engines/lure/scripts.cpp
===================================================================
--- scummvm/trunk/engines/lure/scripts.cpp 2006-08-07 13:16:07 UTC (rev 23690)
+++ scummvm/trunk/engines/lure/scripts.cpp 2006-08-07 13:19:10 UTC (rev 23691)
@@ -336,7 +336,9 @@
// Lookup the given message Id for the specified character and display in a dialog
void Script::displayMessage(uint16 messageId, uint16 characterId, uint16 unknownVal) {
- Dialog::showMessage(messageId, characterId);
+ Hotspot *hotspot = Resources::getReference().getActiveHotspot(characterId);
+ if (hotspot != NULL)
+ hotspot->showMessage(messageId);
}
// Creates a new dispatch action with the given support data entry
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