diff options
author | Matthew Hoops | 2012-10-03 10:58:24 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-10-03 10:58:24 -0400 |
commit | 85bd7daa41ff8b755cf2159b0a1450c05a780acf (patch) | |
tree | 70430782ab2a985cb8087c8097b589abe02f46d7 /engines/pegasus/neighborhood | |
parent | f0091af6b514938be8778d4c6943b18c81b3d50a (diff) | |
download | scummvm-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.cpp | 2 |
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() { |