aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-02 21:47:45 +0000
committerTravis Howell2006-10-02 21:47:45 +0000
commit574665be4b98675016bbb6aefcc1a00b70ee025c (patch)
tree96da561685726ce8d2f56f2d01ea2c6fca165899 /engines/agos/vga.cpp
parente78e1c6987278e07583719ea857f680b1aeff63f (diff)
downloadscummvm-rg350-574665be4b98675016bbb6aefcc1a00b70ee025c.tar.gz
scummvm-rg350-574665be4b98675016bbb6aefcc1a00b70ee025c.tar.bz2
scummvm-rg350-574665be4b98675016bbb6aefcc1a00b70ee025c.zip
Fix mistake in startAnOverlayAnim()
svn-id: r24082
Diffstat (limited to 'engines/agos/vga.cpp')
-rw-r--r--engines/agos/vga.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/agos/vga.cpp b/engines/agos/vga.cpp
index a85efa52e3..3f8681e233 100644
--- a/engines/agos/vga.cpp
+++ b/engines/agos/vga.cpp
@@ -2973,7 +2973,7 @@ void AGOSEngine::centreScroll() {
}
void AGOSEngine::startOverlayAnims() {
- printf("StartOverlayAnims\n");
+ printf("startOverlayAnims\n");
VgaSprite *vsp = _vgaSprites;
int i;
@@ -3005,7 +3005,7 @@ void AGOSEngine::startOverlayAnims() {
}
void AGOSEngine::startAnOverlayAnim() {
- printf("StartAnOverlayAnim\n");
+ printf("startAnOverlayAnim\n");
VgaSprite *vsp = _vgaSprites;
const byte *vcPtrOrg;
@@ -3016,7 +3016,7 @@ void AGOSEngine::startAnOverlayAnim() {
_vcPtr += 4;
a = vcReadNextWord();
- _vcPtr += 4;
+ _vcPtr += 6;
while (vsp->id)
vsp++;
@@ -3056,7 +3056,7 @@ void AGOSEngine::startAnOverlayAnim() {
}
void AGOSEngine::startBlock(uint windowNum, uint zoneNum, uint vgaSpriteId, uint x, uint y, uint priority) {
- printf("startBlock\n");
+ printf("startBlock: windowNum %d vgaSpriteId %d x %d y %d priority %d\n", windowNum, vgaSpriteId, x, y, priority);
VgaSprite *vsp = _vgaSprites;
const byte *vcPtrOrg;
@@ -3125,7 +3125,7 @@ void AGOSEngine::startBlock(uint windowNum, uint zoneNum, uint vgaSpriteId, uint
}
void AGOSEngine::checkIfClickedOnBlock() {
- printf("CheckIfClickedOnBlock\n");
+ printf("checkIfClickedOnBlock\n");
VgaSprite *vsp = _vgaSprites;
uint16 items[2];