aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/palanim.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/palanim.cpp')
-rw-r--r--engines/saga/palanim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/palanim.cpp b/engines/saga/palanim.cpp
index 48eb0f5ec9..bb27af75ff 100644
--- a/engines/saga/palanim.cpp
+++ b/engines/saga/palanim.cpp
@@ -89,7 +89,7 @@ void PalAnim::cycleStart() {
event.code = kPalAnimEvent;
event.op = kEventCycleStep;
event.time = PALANIM_CYCLETIME;
- _vm->_events->queue(&event);
+ _vm->_events->queue(event);
}
void PalAnim::cycleStep(int vectortime) {
@@ -136,7 +136,7 @@ void PalAnim::cycleStep(int vectortime) {
event.code = kPalAnimEvent;
event.op = kEventCycleStep;
event.time = vectortime + PALANIM_CYCLETIME;
- _vm->_events->queue(&event);
+ _vm->_events->queue(event);
}