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:
parent
d9ed914e14
commit
887c25e047
|
@ -5004,7 +5004,7 @@ void P_Telekinesis(player_t *player, fixed_t thrust, fixed_t range)
|
||||||
player->pflags |= PF_THOKKED;
|
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 &= ~PF_NOJUMPDAMAGE;
|
||||||
player->pflags |= P_GetJumpFlags(player) | PF_THOKKED;
|
player->pflags |= P_GetJumpFlags(player) | PF_THOKKED;
|
||||||
|
|
Loading…
Reference in a new issue