mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
Duke3d: mark compiled CON_MOVE/CON_AI/CON_ACTION with a trailing value
This is so I can tell the difference between actor .t_data[] values that are actually set to something defined in CON versus bullshit arbitrary internal usage of the same variable, which I need for a future commit.
This commit is contained in:
parent
e353d38665
commit
d92f56f36f
1 changed files with 6 additions and 11 deletions
|
@ -2629,9 +2629,9 @@ DO_DEFSTATE:
|
|||
}
|
||||
|
||||
for (k=j; k>=0; k--)
|
||||
{
|
||||
scriptWriteValue(0);
|
||||
}
|
||||
|
||||
scriptWriteValue(CON_MOVE);
|
||||
}
|
||||
continue;
|
||||
|
||||
|
@ -2764,18 +2764,13 @@ DO_DEFSTATE:
|
|||
C_BitOrNextValue(&k);
|
||||
|
||||
C_FinishBitOr(k);
|
||||
j = 666;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (j == 666)
|
||||
continue;
|
||||
|
||||
for (k=j; k<3; k++)
|
||||
{
|
||||
scriptWriteValue(0);
|
||||
}
|
||||
|
||||
scriptWriteValue(CON_AI);
|
||||
}
|
||||
continue;
|
||||
|
||||
|
@ -2824,9 +2819,9 @@ DO_DEFSTATE:
|
|||
C_GetNextValue(LABEL_DEFINE);
|
||||
}
|
||||
for (k=j; k>=0; k--)
|
||||
{
|
||||
scriptWriteValue(0);
|
||||
}
|
||||
|
||||
scriptWriteValue(CON_ACTION);
|
||||
}
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Reference in a new issue