TWINE: renamed member and method for game flags

This commit is contained in:
Martin Gerhardy 2021-01-07 21:53:40 +01:00
parent 92499991cf
commit 473a834840
4 changed files with 20 additions and 27 deletions

View file

@ -789,7 +789,7 @@ static int32 lEND_COMPORTEMENT(TwinEEngine *engine, LifeScriptContext &ctx) {
static int32 lSET_FLAG_GAME(TwinEEngine *engine, LifeScriptContext &ctx) {
const uint8 flagIdx = ctx.stream.readByte();
const uint8 flagValue = ctx.stream.readByte();
engine->_gameState->setFlag(flagIdx, flagValue);
engine->_gameState->setGameFlag(flagIdx, flagValue);
return 0;
}