mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
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
4346d22480
commit
72b83986fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue