aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/vga_s1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agos/vga_s1.cpp')
-rw-r--r--engines/agos/vga_s1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/vga_s1.cpp b/engines/agos/vga_s1.cpp
index fb3a80f1e9..c467ca7632 100644
--- a/engines/agos/vga_s1.cpp
+++ b/engines/agos/vga_s1.cpp
@@ -60,8 +60,8 @@ void AGOSEngine::vc17_setPathfinderItem() {
}
void AGOSEngine::vc22_setPaletteNew() {
- byte *offs, *palptr, *src;
- uint16 a = 0, b, num, palSize;
+ byte *offs, *palptr = 0, *src;
+ uint16 a = 0, b, num = 1, palSize = 0;
a = vcReadNextWord();
b = vcReadNextWord();