mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Fix potential build failure when static inline G_CheckForSpace{Ceiling,Floor} are declared without namesdyn.h first being included.
Exposed by lunatic_game.c when LUNATIC=1. git-svn-id: https://svn.eduke32.com/eduke32@5593 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3c726065f7
commit
93884b1a91
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ ACTOR_INLINE int32_t A_MoveSprite(int32_t spritenum, const vec3_t *change, uint3
|
|||
|
||||
# endif
|
||||
|
||||
# include "namesdyn.h"
|
||||
|
||||
EXTERN_INLINE int32_t G_CheckForSpaceCeiling(int32_t sectnum)
|
||||
{
|
||||
return ((sector[sectnum].ceilingstat&1) && sector[sectnum].ceilingpal == 0 &&
|
||||
|
|
Loading…
Reference in a new issue