mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-06 02:46:49 +00:00
Initialize Anim object properly.
svn-id: r14409
This commit is contained in:
parent
4b4ab244b1
commit
d4c84fefde
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user