diff options
author | uruk | 2013-07-24 18:42:41 +0200 |
---|---|---|
committer | uruk | 2013-07-24 18:42:41 +0200 |
commit | ca51bf19c9dae1474ffacfb1a40f955972c368a8 (patch) | |
tree | 0156f22237264f78aff6ada3abb1b9773e65a9d1 /engines/avalanche/avalanche.cpp | |
parent | 10ec7e0e0f2d4cc246db0c3792c5af05e413976b (diff) | |
download | scummvm-rg350-ca51bf19c9dae1474ffacfb1a40f955972c368a8.tar.gz scummvm-rg350-ca51bf19c9dae1474ffacfb1a40f955972c368a8.tar.bz2 scummvm-rg350-ca51bf19c9dae1474ffacfb1a40f955972c368a8.zip |
AVALANCHE: Change _timeout into pointer, update everything accordingly.
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r-- | engines/avalanche/avalanche.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index d5187f1fa8..27dd779374 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -60,6 +60,7 @@ AvalancheEngine::~AvalancheEngine() { delete _avalot; delete _gyro; + delete _timeout; } Common::ErrorCode AvalancheEngine::initialize() { @@ -76,7 +77,7 @@ Common::ErrorCode AvalancheEngine::initialize() { _enid.setParent(this); _celer.setParent(this); _sequence.setParent(this); - _timeout.setParent(this); + _timeout = new Timeout(this); _trip.setParent(this); _acci.setParent(this); _basher.setParent(this); |