diff options
author | Eugene Sandulenko | 2004-08-01 07:23:36 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-08-01 07:23:36 +0000 |
commit | d4c84fefdec61200a0f6eeac4d75fd28f16b9970 (patch) | |
tree | c725ff6b8b2fbc69a3905dc4887ea05707505078 /saga | |
parent | 4b4ab244b1d114fd4740a7dd724924bd42b5a8a3 (diff) | |
download | scummvm-rg350-d4c84fefdec61200a0f6eeac4d75fd28f16b9970.tar.gz scummvm-rg350-d4c84fefdec61200a0f6eeac4d75fd28f16b9970.tar.bz2 scummvm-rg350-d4c84fefdec61200a0f6eeac4d75fd28f16b9970.zip |
Initialize Anim object properly.
svn-id: r14409
Diffstat (limited to 'saga')
-rw-r--r-- | saga/animation.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/saga/animation.cpp b/saga/animation.cpp index 13bca80b66..0a437a102e 100644 --- a/saga/animation.cpp +++ b/saga/animation.cpp @@ -43,8 +43,14 @@ int Anim::reg() { } Anim::Anim(void) { + int i; + _anim_limit = R_MAX_ANIMATIONS; _anim_count = 0; + + for (i = 0; i < R_MAX_ANIMATIONS; i++) + _anim_tbl[i] = NULL; + _initialized = true; } |