From 93884b1a9160d5fde4ce3b5e34e3f8e78a7be879 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Wed, 27 Jan 2016 07:30:34 +0000 Subject: [PATCH] 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 --- polymer/eduke32/source/actors.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/actors.h b/polymer/eduke32/source/actors.h index 9c54b5da7..57555b776 100644 --- a/polymer/eduke32/source/actors.h +++ b/polymer/eduke32/source/actors.h @@ -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 &&