From b10cd22d510e063d647ac03930800e3df7c514e8 Mon Sep 17 00:00:00 2001 From: Andrew Kurushin Date: Sat, 23 Oct 2010 23:07:10 +0000 Subject: SAGA: replace Events malloc base linked list with Common::List svn-id: r53751 --- engines/saga/sfuncs_ihnm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/saga/sfuncs_ihnm.cpp') 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); -- cgit v1.2.3