aboutsummaryrefslogtreecommitdiff
path: root/kyra/seqplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kyra/seqplayer.cpp')
-rw-r--r--kyra/seqplayer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/kyra/seqplayer.cpp b/kyra/seqplayer.cpp
index 5f1223bd8a..dd9a745379 100644
--- a/kyra/seqplayer.cpp
+++ b/kyra/seqplayer.cpp
@@ -15,7 +15,8 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * $Header$
+ * $URL$
+ * $Id$
*
*/
@@ -170,7 +171,7 @@ void SeqPlayer::s1_drawShape() {
void SeqPlayer::s1_waitTicks() {
uint16 ticks = READ_LE_UINT16(_seqData); _seqData += 2;
- _vm->waitTicks(ticks);
+ _vm->delay(ticks);
}
void SeqPlayer::s1_copyWaitTicks() {
@@ -373,7 +374,7 @@ void SeqPlayer::s1_fillRect() {
void SeqPlayer::s1_playEffect() {
uint8 track = *_seqData++;
- _vm->waitTicks(3);
+ _vm->delay(3 * _vm->tickLength());
_sound->playSoundEffect(track);
}