LUA_HookFollowMobj instead of LUAh_FollowMobj

This commit is contained in:
SMS Alfredo 2023-06-09 13:04:01 -05:00
parent 16e44e1b6e
commit 826a70323c

View file

@ -11442,7 +11442,7 @@ void P_DoMetalJetFume(player_t *player, mobj_t *fume)
// Handle Followmobj behavior // Handle Followmobj behavior
void P_DoFollowMobj(player_t *player, mobj_t *followmobj) void P_DoFollowMobj(player_t *player, mobj_t *followmobj)
{ {
if (LUAh_FollowMobj(player, followmobj) || P_MobjWasRemoved(followmobj)) if (LUA_HookFollowMobj(player, followmobj) || P_MobjWasRemoved(followmobj))
{;} {;}
else else
{ {