mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-26 19:55:44 +00:00
VOYEUR: Remove _field26 from the event timer
This commit is contained in:
parent
0362f41024
commit
ed52f7160d
@ -52,7 +52,6 @@ IntData::IntData() {
|
||||
_hasPalette = false;
|
||||
_flashTimer = 0;
|
||||
_flashStep = 0;
|
||||
field26 = 0;
|
||||
_skipFading = false;
|
||||
_palStartIndex = 0;
|
||||
_palEndIndex = 0;
|
||||
@ -185,13 +184,9 @@ void EventsManager::showMousePosition() {
|
||||
void EventsManager::voyeurTimer() {
|
||||
_gameData._flashTimer += _gameData._flashStep;
|
||||
|
||||
if (--_gameData.field26 <= 0) {
|
||||
if (_gameData._flipWait) {
|
||||
_gameData._flipWait = false;
|
||||
_gameData._skipFading = false;
|
||||
}
|
||||
|
||||
_gameData.field26 >>= 8;
|
||||
if (_gameData._flipWait) {
|
||||
_gameData._flipWait = false;
|
||||
_gameData._skipFading = false;
|
||||
}
|
||||
|
||||
videoTimer();
|
||||
|
@ -55,7 +55,6 @@ public:
|
||||
bool _flipWait;
|
||||
int _flashTimer;
|
||||
int _flashStep;
|
||||
int field26;
|
||||
bool _hasPalette;
|
||||
bool _skipFading;
|
||||
int _palStartIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user