aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/phantom/globals_phantom.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2015-11-23 00:41:07 +0200
committerFilippos Karapetis2015-11-23 00:41:07 +0200
commitd9e2943fe6962810ffccc6ae136d7092ac0bd4bf (patch)
tree527c856b2adf129b8bde442823ffe6bcf81f4684 /engines/mads/phantom/globals_phantom.cpp
parent0c7bde123b93f30939b3560e3117e1b13d27502e (diff)
parentf0d17d2c061dd2d4648e501d8f0caf8fd3ad7f73 (diff)
downloadscummvm-rg350-d9e2943fe6962810ffccc6ae136d7092ac0bd4bf.tar.gz
scummvm-rg350-d9e2943fe6962810ffccc6ae136d7092ac0bd4bf.tar.bz2
scummvm-rg350-d9e2943fe6962810ffccc6ae136d7092ac0bd4bf.zip
Merge pull request #626 from dreammaster/phantom
MADS: Return of the Phantom WIP
Diffstat (limited to 'engines/mads/phantom/globals_phantom.cpp')
-rw-r--r--engines/mads/phantom/globals_phantom.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/mads/phantom/globals_phantom.cpp b/engines/mads/phantom/globals_phantom.cpp
index e0db0a1bb0..eea84762fe 100644
--- a/engines/mads/phantom/globals_phantom.cpp
+++ b/engines/mads/phantom/globals_phantom.cpp
@@ -28,12 +28,12 @@ namespace MADS {
namespace Phantom {
-PhantomGlobals::PhantomGlobals()
- : Globals() {
+PhantomGlobals::PhantomGlobals() : Globals() {
// Initialize lists
resize(210);
_spriteIndexes.resize(30);
_sequenceIndexes.resize(30);
+ _animationIndexes.resize(30);
}
void PhantomGlobals::synchronize(Common::Serializer &s) {
@@ -41,6 +41,7 @@ void PhantomGlobals::synchronize(Common::Serializer &s) {
_spriteIndexes.synchronize(s);
_sequenceIndexes.synchronize(s);
+ _animationIndexes.synchronize(s);
}