diff options
Diffstat (limited to 'engines/mads/phantom/globals_phantom.cpp')
-rw-r--r-- | engines/mads/phantom/globals_phantom.cpp | 5 |
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); } |