diff --git a/src/p_enemy.c b/src/p_enemy.c index a4ba42c48..87aa5ff2f 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -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; diff --git a/src/p_mobj.c b/src/p_mobj.c index 301b7564d..ad329a582 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -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: