mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-14 16:07:39 +00:00
Fixed some valgrind warnings.
svn-id: r31564
This commit is contained in:
parent
0dac6c8f85
commit
07ef82c26a
@ -45,6 +45,7 @@ void KyraEngine_v3::clearAnimObjects() {
|
||||
_animObjects[0].height2 = 10;
|
||||
|
||||
for (int i = 1; i < 17; ++i) {
|
||||
_animObjects[i].index = i;
|
||||
_animObjects[i].type = 2;
|
||||
_animObjects[i].flags = 0;
|
||||
_animObjects[i].enabled = false;
|
||||
@ -53,6 +54,7 @@ void KyraEngine_v3::clearAnimObjects() {
|
||||
}
|
||||
|
||||
for (int i = 17; i <= 66; ++i) {
|
||||
_animObjects[i].index = i;
|
||||
_animObjects[i].type = 1;
|
||||
_animObjects[i].unk8 = 1;
|
||||
_animObjects[i].flags = 0x800;
|
||||
|
Loading…
x
Reference in New Issue
Block a user