- clean out RRRA move flags in the CON parser for the other games.

This allows keeping their function enabled everywhere so that they can become a common feature without further need for validation.
This commit is contained in:
Christoph Oelckers 2022-12-30 09:49:18 +01:00
parent b2b4d432fc
commit 7f19a120a0

View file

@ -974,6 +974,7 @@ int ConCompiler::parsecommand()
transnum(LABEL_DEFINE);
j |= popscriptvalue();
}
if (!isRRRA()) j &= 8191; // clean out RRRA only moves in other games.
appendscriptvalue(j);
}
else
@ -1136,6 +1137,7 @@ int ConCompiler::parsecommand()
transnum(LABEL_DEFINE);
k |= popscriptvalue();
}
if (!isRRRA()) k &= 8191; // clean out RRRA only moves in other games.
ai.moveflags = k;
}
return 0;
@ -1232,6 +1234,7 @@ int ConCompiler::parsecommand()
j |= popscriptvalue();
}
if (!isRRRA()) j &= 8191; // clean out RRRA only moves in other games.
appendscriptvalue(j);
break;
}