mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-25 16:06:09 +00:00
Declarations after Lua calls
This commit is contained in:
parent
6143e7a994
commit
a2ca74b688
1 changed files with 5 additions and 4 deletions
|
|
@ -5016,15 +5016,16 @@ void A_UnsetSolidSteam(mobj_t *actor)
|
|||
//
|
||||
void A_SignSpin(mobj_t *actor)
|
||||
{
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_CallAction("A_SignSpin", actor))
|
||||
return;
|
||||
#endif
|
||||
INT32 locvar1 = var1;
|
||||
INT32 locvar2 = var2;
|
||||
INT16 i;
|
||||
angle_t rotateangle = FixedAngle(locvar1 << FRACBITS);
|
||||
|
||||
#ifdef HAVE_BLUA
|
||||
if (LUA_CallAction("A_SignSpin", actor))
|
||||
return;
|
||||
#endif
|
||||
|
||||
if (P_IsObjectOnGround(actor) && P_MobjFlip(actor) * actor->momz <= 0)
|
||||
{
|
||||
if (actor->spawnpoint)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue