Clean: SetVariable

This commit is contained in:
Fireboyd78 2020-08-20 13:00:39 -07:00
parent 191d3652ff
commit 1ee8d21d98

View File

@ -294,17 +294,12 @@ POLY_FT4 cd_sprite;
SPRT extraSprt;
POLY_FT3 extraDummy;
// [D]
// [D] [A]
void SetVariable(int var)
{
int code = (var >> 8);
int value = (var & 0xff);
if (0xc < (var >> 8) - 1U)
{
return;
}
switch (var >> 8) {
case 1:
GameLevel = value;