diff options
author | Littleboy | 2014-06-11 20:55:31 -0400 |
---|---|---|
committer | Littleboy | 2014-06-16 18:46:23 -0400 |
commit | 71a703d8bb09cd6e520c40d8db1576687e888292 (patch) | |
tree | 4bf110214631bb009d43fb8ca31d56cee669dfd1 /engines/lastexpress/game/action.cpp | |
parent | cbb7c71c89392462ee747027994bbce7217f27d3 (diff) | |
download | scummvm-rg350-71a703d8bb09cd6e520c40d8db1576687e888292.tar.gz scummvm-rg350-71a703d8bb09cd6e520c40d8db1576687e888292.tar.bz2 scummvm-rg350-71a703d8bb09cd6e520c40d8db1576687e888292.zip |
LASTEXPRESS: Update SavePoint::push/call interface and check for string size. CID 1003261, 1003262
Diffstat (limited to 'engines/lastexpress/game/action.cpp')
-rw-r--r-- | engines/lastexpress/game/action.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/game/action.cpp b/engines/lastexpress/game/action.cpp index 986c56cb1b..96b97db939 100644 --- a/engines/lastexpress/game/action.cpp +++ b/engines/lastexpress/game/action.cpp @@ -1456,7 +1456,7 @@ IMPLEMENT_ACTION(playMusicChapterSetupTrain) if (!getSoundQueue()->isBuffered(filename) && hotspot.param3 & id) { getSound()->playSound(kEntityPlayer, filename, kFlagDefault); - getSavePoints()->call(kEntityPlayer, kEntityTrain, kAction203863200, filename.c_str()); + getSavePoints()->call(kEntityPlayer, kEntityTrain, kAction203863200, filename); getSavePoints()->push(kEntityPlayer, kEntityTrain, kAction222746496, hotspot.param2); } |