aboutsummaryrefslogtreecommitdiff
path: root/saga/events.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-01-02 14:36:00 +0000
committerTorbjörn Andersson2005-01-02 14:36:00 +0000
commit1bc636aaa676839c6e8fe2d8cc1405f2c3b2393c (patch)
tree46b0e2d6eac5657e8ec2e8bc1724d3f8caf96e31 /saga/events.cpp
parent96785897790bdf6ff1679e45c7fdf4a98bbce9b6 (diff)
downloadscummvm-rg350-1bc636aaa676839c6e8fe2d8cc1405f2c3b2393c.tar.gz
scummvm-rg350-1bc636aaa676839c6e8fe2d8cc1405f2c3b2393c.tar.bz2
scummvm-rg350-1bc636aaa676839c6e8fe2d8cc1405f2c3b2393c.zip
Fixed a few things in the IHNM intro. Most noticeably I've added an event
for starting animations, which I use to prevent the first animation frame from being drawn too early. svn-id: r16407
Diffstat (limited to 'saga/events.cpp')
-rw-r--r--saga/events.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/saga/events.cpp b/saga/events.cpp
index 83ca2961b2..a9643fc98c 100644
--- a/saga/events.cpp
+++ b/saga/events.cpp
@@ -326,6 +326,9 @@ int Events::handleOneShot(EVENT *event) {
break;
case ANIM_EVENT:
switch (event->op) {
+ case EVENT_PLAY:
+ _vm->_anim->play(event->param, event->time, true);
+ break;
case EVENT_FRAME:
_vm->_anim->play(event->param, event->time, false);
break;