mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix Lunatic build.
git-svn-id: https://svn.eduke32.com/eduke32@6274 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
48e9b22b4f
commit
9286a4d40e
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue