mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 10:11:02 +00:00
Standards 3
This commit is contained in:
parent
295f052f2d
commit
b1ad7787f4
1 changed files with 3 additions and 3 deletions
|
@ -8961,13 +8961,13 @@ void A_Dye(mobj_t *actor)
|
||||||
{
|
{
|
||||||
INT32 locvar1 = var1;
|
INT32 locvar1 = var1;
|
||||||
INT32 locvar2 = var2;
|
INT32 locvar2 = var2;
|
||||||
|
|
||||||
|
mobj_t *target = ((locvar1 && actor->target) ? actor->target : actor);
|
||||||
|
UINT8 color = (UINT8)locvar2;
|
||||||
#ifdef HAVE_BLUA
|
#ifdef HAVE_BLUA
|
||||||
if (LUA_CallAction("A_Dye", actor))
|
if (LUA_CallAction("A_Dye", actor))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
mobj_t *target = ((locvar1 && actor->target) ? actor->target : actor);
|
|
||||||
UINT8 color = (UINT8)locvar2;
|
|
||||||
|
|
||||||
if (color >= MAXTRANSLATIONS)
|
if (color >= MAXTRANSLATIONS)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue