mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 10:52:36 +01:00
Clean: SetVariable
This commit is contained in:
parent
191d3652ff
commit
1ee8d21d98
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user