mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
Fixed displayMessage script method to use the new Hotspot::showMessage
svn-id: r23691
This commit is contained in:
parent
e911afb525
commit
c0e600e0fa
@ -336,7 +336,9 @@ void Script::doorOpen(uint16 hotspotId, uint16 v2, uint16 v3) {
|
||||
// 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user