mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 08:23:15 +00:00
NEVERHOOD: Fix uninitialized class members in AnimatedSprite - CID 1022296
This commit is contained in:
parent
9396958536
commit
40f1f3e0b1
@ -211,6 +211,12 @@ void AnimatedSprite::init() {
|
||||
_replNewColor = 0;
|
||||
_animResource.setReplEnabled(false);
|
||||
_playBackwards = false;
|
||||
_currAnimFileHash = 0;
|
||||
_lastFrameIndex = 0;
|
||||
_plLastFrameIndex = 0;
|
||||
_plFirstFrameHash = 0;
|
||||
_plLastFrameHash = 0;
|
||||
_animStatus = 0;
|
||||
}
|
||||
|
||||
void AnimatedSprite::update() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user