From b2332744e4ccf9d0e19a7b1c46a4a66f46a453e4 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sat, 7 Feb 2009 01:11:51 +0000 Subject: Cleanup. svn-id: r36228 --- engines/agos/vga_ww.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/agos/vga_ww.cpp') diff --git a/engines/agos/vga_ww.cpp b/engines/agos/vga_ww.cpp index b236fa26a0..27e4fce2d6 100644 --- a/engines/agos/vga_ww.cpp +++ b/engines/agos/vga_ww.cpp @@ -64,7 +64,7 @@ void AGOSEngine::vcStopAnimation(uint16 zone, uint16 sprite) { vte = _vgaTimerList; while (vte->delay) { - if (vte->sprite_id == _vgaCurSpriteId && vte->cur_vga_file == _vgaCurZoneNum) { + if (vte->id == _vgaCurSpriteId && vte->zoneNum == _vgaCurZoneNum) { deleteVgaEvent(vte); break; } @@ -93,7 +93,7 @@ void AGOSEngine_Simon1::vcStopAnimation(uint16 zone, uint16 sprite) { vfs = _waitSyncTable; while (vfs->ident != 0) { - if (vfs->sprite_id == _vgaCurSpriteId && vfs->cur_vga_file == _vgaCurZoneNum) { + if (vfs->id == _vgaCurSpriteId && vfs->zoneNum == _vgaCurZoneNum) { while (vfs->ident != 0) { memcpy(vfs, vfs + 1, sizeof(VgaSleepStruct)); vfs++; @@ -109,7 +109,7 @@ void AGOSEngine_Simon1::vcStopAnimation(uint16 zone, uint16 sprite) { vte = _vgaTimerList; while (vte->delay) { - if (vte->sprite_id == _vgaCurSpriteId && vte->cur_vga_file == _vgaCurZoneNum) { + if (vte->id == _vgaCurSpriteId && vte->zoneNum == _vgaCurZoneNum) { deleteVgaEvent(vte); break; } -- cgit v1.2.3