Fix Lunatic build.

git-svn-id: https://svn.eduke32.com/eduke32@6274 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-06-25 11:23:41 +00:00
parent 48e9b22b4f
commit 9286a4d40e

View file

@ -300,7 +300,11 @@ GAMEEXEC_STATIC GAMEEXEC_INLINE void P_ForceAngle(DukePlayer_t *pPlayer)
#endif
// wow, this function sucks
static int32_t A_Dodge(spritetype * const pSprite)
#ifdef __cplusplus
extern "C"
#endif
int32_t A_Dodge(spritetype * const);
int32_t A_Dodge(spritetype * const pSprite)
{
if (A_CheckEnemySprite(pSprite) && pSprite->extra <= 0) // hack
return 0;