Remove inline keyword from P_DoTwinSpin function

The compiler doesn't like this and will give you a "inlining failed in call to 'P_DoTwinSpin': call is unlikely and code size would grow" error
This commit is contained in:
Steel Titanium 2020-05-02 17:39:55 -04:00
parent d9ed914e14
commit 887c25e047
1 changed files with 1 additions and 1 deletions

View File

@ -5004,7 +5004,7 @@ void P_Telekinesis(player_t *player, fixed_t thrust, fixed_t range)
player->pflags |= PF_THOKKED;
}
static inline void P_DoTwinSpin(player_t *player)
static void P_DoTwinSpin(player_t *player)
{
player->pflags &= ~PF_NOJUMPDAMAGE;
player->pflags |= P_GetJumpFlags(player) | PF_THOKKED;