mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
KINGDOM: Add check in main loop to avoid GPL3 opcodes in demo
This commit is contained in:
parent
33ef3352ce
commit
45cafdc8aa
@ -202,8 +202,13 @@ Common::Error KingdomGame::run() {
|
||||
GPLogic1();
|
||||
if (_statPlay > 249 && _statPlay < 500)
|
||||
GPLogic2();
|
||||
if (_statPlay > 499 && _statPlay < 900)
|
||||
GPLogic3();
|
||||
if (_statPlay > 499 && _statPlay < 900) {
|
||||
if (!isDemo())
|
||||
GPLogic3();
|
||||
else
|
||||
warning("Unexpected GPL3 opcode found in demo: %d", _statPlay);
|
||||
}
|
||||
|
||||
if (_statPlay > 899)
|
||||
GPLogic4();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user