aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authorStrangerke2014-02-09 20:11:55 +0100
committerStrangerke2014-02-09 20:11:55 +0100
commit5cc2315b38561f525c3925256f3e44437a634763 (patch)
tree24002f09f532a264cbd148c041452456ad2837a1 /engines/avalanche
parentbd59c19fdf2245bc9407b399ae23bc6ff7513cc0 (diff)
downloadscummvm-rg350-5cc2315b38561f525c3925256f3e44437a634763.tar.gz
scummvm-rg350-5cc2315b38561f525c3925256f3e44437a634763.tar.bz2
scummvm-rg350-5cc2315b38561f525c3925256f3e44437a634763.zip
AVALANCHE: Initialize a couple of uninitialized variables
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/ghostroom.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index 321758482b..d75c9935a7 100644
--- a/engines/avalanche/ghostroom.cpp
+++ b/engines/avalanche/ghostroom.cpp
@@ -84,8 +84,9 @@ void GhostRoom::wait(uint16 howLong) {
void GhostRoom::doBat() {
_batCount++;
- int8 dx, iy;
- byte batImage;
+ int8 dx = 0;
+ int8 iy = 0;
+ byte batImage = 0;
if ((_batCount % 2) == 1) {
if ((1 <= _batCount) && (_batCount <= 90)) {
dx = 2;