diff options
author | Torbjörn Andersson | 2005-01-12 12:51:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-01-12 12:51:56 +0000 |
commit | 1e499f47f2964836e09cc00e44c583ef2c11bcbb (patch) | |
tree | 12509f68ccb1dae8b5c8506353337ce2801f57da /saga | |
parent | 3f211bdc323d5f7885761ca6e3af6912e4208933 (diff) | |
download | scummvm-rg350-1e499f47f2964836e09cc00e44c583ef2c11bcbb.tar.gz scummvm-rg350-1e499f47f2964836e09cc00e44c583ef2c11bcbb.tar.bz2 scummvm-rg350-1e499f47f2964836e09cc00e44c583ef2c11bcbb.zip |
Slight adjustment to previous commit.
svn-id: r16549
Diffstat (limited to 'saga')
-rw-r--r-- | saga/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/animation.cpp b/saga/animation.cpp index 5022c7fa96..0f2ffca611 100644 --- a/saga/animation.cpp +++ b/saga/animation.cpp @@ -287,14 +287,14 @@ int Anim::play(uint16 anim_id, int vector_time, bool playing) { anim_id = link_anim_id; frame_time = 0; } else { - frame_time = anim->frame_time; + frame_time = anim->frame_time + vector_time; } event.type = ONESHOT_EVENT; event.code = ANIM_EVENT; event.op = EVENT_FRAME; event.param = anim_id; - event.time = frame_time + vector_time; + event.time = frame_time; _vm->_events->queue(&event); |