Give MT_METALSONIC_RACE a drop shadow & removed unused vars.

This commit is contained in:
spherallic 2022-03-12 17:44:37 +01:00
parent 6ef7221e38
commit c782e81700
2 changed files with 1 additions and 4 deletions

View file

@ -4181,7 +4181,6 @@ bossjustdie:
void A_SetShadowScale(mobj_t *actor)
{
INT32 locvar1 = var1;
INT32 locvar2 = var2;
if (LUA_CallAction(A_SETSHADOWSCALE, actor))
return;
@ -4199,9 +4198,6 @@ void A_SetShadowScale(mobj_t *actor)
//
void A_ShadowScream(mobj_t *actor)
{
INT32 locvar1 = var1;
INT32 locvar2 = var2;
if (LUA_CallAction(A_SHADOWSCREAM, actor))
return;

View file

@ -10412,6 +10412,7 @@ static fixed_t P_DefaultMobjShadowScale (mobj_t *thing)
switch (thing->type)
{
case MT_PLAYER:
case MT_METALSONIC_RACE:
case MT_ROLLOUTROCK:
case MT_EGGMOBILE4_MACE: