mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
ASYLUM: (TimeMachine puzzle) fix uninitialized class members
CID 1453221
This commit is contained in:
parent
ce0c5cce18
commit
b9e52233c3
@ -48,10 +48,15 @@ const int16 puzzleTimeMachinePoints[5][2] = {
|
||||
|
||||
PuzzleTimeMachine::PuzzleTimeMachine(AsylumEngine *engine) : Puzzle(engine) {
|
||||
_leftButtonClicked = true;
|
||||
_counter = 0;
|
||||
|
||||
memset(&_frameIndexes, 0, sizeof(_frameIndexes));
|
||||
memset(&_frameCounts, 0, sizeof(_frameCounts));
|
||||
memset(&_frameIncrements, 0, sizeof(_frameIncrements));
|
||||
memset(&_state, 0, sizeof(_state));
|
||||
|
||||
_data_45AAA8 = _data_45AAAC = 0;
|
||||
_currentFrameIndex = 0;
|
||||
|
||||
reset();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user