diff --git a/engines/dragons/minigame1.cpp b/engines/dragons/minigame1.cpp index 53abed9c20e..92aaf5e331d 100644 --- a/engines/dragons/minigame1.cpp +++ b/engines/dragons/minigame1.cpp @@ -56,7 +56,7 @@ void Minigame1::run() { uint16 auStack1008 [200]; DragonINI *originalFlickerIniID; uint16 local_25c; - uint16 local_25a; + uint16 local_25a = 0; uint16 catFieldE_scaleMaybe; uint16 hitCounter; uint16 local_254; @@ -66,12 +66,12 @@ void Minigame1::run() { uint16 local_242; uint16 local_240; uint16 local_23e; - short local_23c; + short local_23c = 0; short local_23a; short local_238; short gameState; - uint16 local_234; - short local_232; + uint16 local_234 = 0; + short local_232 = 0; uint16 local_22e; uint16 local_22c; Actor *targetActorIdTbl [5]; diff --git a/engines/dragons/minigame5.cpp b/engines/dragons/minigame5.cpp index 21ec98c883f..66d96fed750 100644 --- a/engines/dragons/minigame5.cpp +++ b/engines/dragons/minigame5.cpp @@ -52,8 +52,8 @@ void Minigame5::run() { DragonINI*local_78; //uint16 local_76; uint16 local_74; - uint16 local_72; - uint16 bombScale; + uint16 local_72 = 0; + uint16 bombScale = DRAGONS_ENGINE_SPRITE_100_PERCENT_SCALE; Actor *bombActor; Actor *flickerActor; Actor *pusherActor; @@ -61,10 +61,10 @@ void Minigame5::run() { uint16 local_66; Actor *wheelsActor; uint16 local_62; - uint16 local_60; - uint16 local_5e; - short local_5c; - short local_5a; + uint16 local_60 = 0; + uint16 local_5e = 0; + short local_5c = 0; + short local_5a = 0; uint16 currentState; short local_50; Actor *local_4e;