mirror of
https://github.com/ioquake/jedi-academy.git
synced 2025-02-11 06:30:42 +00:00
locally define min()/max() so there won't be unresolved symbols
This commit is contained in:
parent
80b273bbaa
commit
ecd674b852
2 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,8 @@
|
|||
#include "../ghoul2/G2.h"
|
||||
#include "../game/bg_saga.h"
|
||||
|
||||
#define max(x,y) ((x)>(y)?(x):(y))
|
||||
|
||||
extern vmCvar_t cg_thirdPersonAlpha;
|
||||
|
||||
extern int cgSiegeTeam1PlShader;
|
||||
|
|
|
@ -21,6 +21,10 @@ USER INTERFACE MAIN
|
|||
|
||||
#include "../cgame/holocronicons.h"
|
||||
|
||||
#ifndef min
|
||||
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
extern void UI_SaberAttachToChar( itemDef_t *item );
|
||||
|
||||
char *forcepowerDesc[NUM_FORCE_POWERS] =
|
||||
|
|
Loading…
Reference in a new issue