aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood
diff options
context:
space:
mode:
authorMatthew Hoops2012-10-03 10:58:24 -0400
committerMatthew Hoops2012-10-03 10:58:24 -0400
commit85bd7daa41ff8b755cf2159b0a1450c05a780acf (patch)
tree70430782ab2a985cb8087c8097b589abe02f46d7 /engines/pegasus/neighborhood
parentf0091af6b514938be8778d4c6943b18c81b3d50a (diff)
downloadscummvm-rg350-85bd7daa41ff8b755cf2159b0a1450c05a780acf.tar.gz
scummvm-rg350-85bd7daa41ff8b755cf2159b0a1450c05a780acf.tar.bz2
scummvm-rg350-85bd7daa41ff8b755cf2159b0a1450c05a780acf.zip
PEGASUS: Fix uninitialized variable
Diffstat (limited to 'engines/pegasus/neighborhood')
-rw-r--r--engines/pegasus/neighborhood/mars/mars.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/mars/mars.cpp b/engines/pegasus/neighborhood/mars/mars.cpp
index 8510abc92c..34c9e3d0f8 100644
--- a/engines/pegasus/neighborhood/mars/mars.cpp
+++ b/engines/pegasus/neighborhood/mars/mars.cpp
@@ -128,6 +128,8 @@ void Mars::init() {
_explosionCallBack.setNotification(&_neighborhoodNotification);
_explosionCallBack.setCallBackFlag(kExplosionFinishedFlag);
+
+ _weaponSelection = kNoWeapon;
}
void Mars::flushGameState() {