diff options
author | Andrew Kurushin | 2010-10-23 23:07:10 +0000 |
---|---|---|
committer | Andrew Kurushin | 2010-10-23 23:07:10 +0000 |
commit | b10cd22d510e063d647ac03930800e3df7c514e8 (patch) | |
tree | 0d082b18a03abb0603e634b28b03c941ca5775a4 /engines/saga/sfuncs_ihnm.cpp | |
parent | 5b7c5e429871ce09465150ef9cca8e6cbeb3f259 (diff) | |
download | scummvm-rg350-b10cd22d510e063d647ac03930800e3df7c514e8.tar.gz scummvm-rg350-b10cd22d510e063d647ac03930800e3df7c514e8.tar.bz2 scummvm-rg350-b10cd22d510e063d647ac03930800e3df7c514e8.zip |
SAGA: replace Events malloc base linked list with Common::List
svn-id: r53751
Diffstat (limited to 'engines/saga/sfuncs_ihnm.cpp')
-rw-r--r-- | engines/saga/sfuncs_ihnm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/saga/sfuncs_ihnm.cpp b/engines/saga/sfuncs_ihnm.cpp index 6637c861cb..dd6bbbe6f8 100644 --- a/engines/saga/sfuncs_ihnm.cpp +++ b/engines/saga/sfuncs_ihnm.cpp @@ -247,7 +247,7 @@ void Script::sfScriptFade(SCRIPTFUNC_PARAMS) { event.param2 = endingBrightness; event.param3 = firstPalEntry; event.param4 = lastPalEntry - firstPalEntry + 1; - _vm->_events->queue(&event); + _vm->_events->queue(event); } void Script::sfScriptStartVideo(SCRIPTFUNC_PARAMS) { @@ -294,7 +294,7 @@ void Script::sfAddIHNMDemoHelpTextLine(SCRIPTFUNC_PARAMS) { event.code = kTextEvent; event.op = kEventDisplay; event.data = _psychicProfileTextEntry; - _vm->_events->queue(&event); + _vm->_events->queue(event); _ihnmDemoCurrentY += _vm->_font->getHeight(kKnownFontVerb, thread->_strings->getString(stringId), 226, kFontCentered); } @@ -424,7 +424,7 @@ void Script::sfQueueMusic(SCRIPTFUNC_PARAMS) { event.op = kEventPlay; event.time = _vm->ticksToMSec(1000); - _vm->_events->queue(&event); + _vm->_events->queue(event); if (!_vm->_scene->haveChapterPointsChanged()) { _vm->_scene->setCurrentMusicTrack(param1); |