aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2012-09-25 22:02:10 -0400
committerMatthew Hoops2012-09-25 22:08:55 -0400
commitbbec9fac207d9e85d647e5ee13d6f20b90b47a87 (patch)
treebd09bdea3855a3df9f8cf2d4f92d78d78dfe4e73 /engines
parent40fb004509620323a466ee1f49addc773094e21f (diff)
downloadscummvm-rg350-bbec9fac207d9e85d647e5ee13d6f20b90b47a87.tar.gz
scummvm-rg350-bbec9fac207d9e85d647e5ee13d6f20b90b47a87.tar.bz2
scummvm-rg350-bbec9fac207d9e85d647e5ee13d6f20b90b47a87.zip
PEGASUS: Initialize _duration in RobotShip
Diffstat (limited to 'engines')
-rw-r--r--engines/pegasus/neighborhood/mars/robotship.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/mars/robotship.cpp b/engines/pegasus/neighborhood/mars/robotship.cpp
index 43a7e558c3..9963a446d1 100644
--- a/engines/pegasus/neighborhood/mars/robotship.cpp
+++ b/engines/pegasus/neighborhood/mars/robotship.cpp
@@ -64,6 +64,7 @@ RobotShip::RobotShip() : _spritesMovie(kNoDisplayElement) {
_currentLocation.y = 0;
_snaring = false;
_dropJunkFuse.setFunctor(new Common::Functor0Mem<void, RobotShip>(this, &RobotShip::timeToDropJunk));
+ _duration = 0xFFFFFFFF;
}
RobotShip::~RobotShip() {