From 5cc2315b38561f525c3925256f3e44437a634763 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 9 Feb 2014 20:11:55 +0100 Subject: AVALANCHE: Initialize a couple of uninitialized variables --- engines/avalanche/ghostroom.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'engines/avalanche/ghostroom.cpp') 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; -- cgit v1.2.3