[Scummvm-cvs-logs] scummvm master -> 85bd7daa41ff8b755cf2159b0a1450c05a780acf

clone2727 clone2727 at gmail.com
Wed Oct 3 16:59:22 CEST 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
85bd7daa41 PEGASUS: Fix uninitialized variable


Commit: 85bd7daa41ff8b755cf2159b0a1450c05a780acf
    https://github.com/scummvm/scummvm/commit/85bd7daa41ff8b755cf2159b0a1450c05a780acf
Author: Matthew Hoops (clone2727 at gmail.com)
Date: 2012-10-03T07:58:24-07:00

Commit Message:
PEGASUS: Fix uninitialized variable

Changed paths:
    engines/pegasus/neighborhood/mars/mars.cpp



diff --git a/engines/pegasus/neighborhood/mars/mars.cpp b/engines/pegasus/neighborhood/mars/mars.cpp
index 8510abc..34c9e3d 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() {






More information about the Scummvm-git-logs mailing list