pmove: make player_mins/maxs const

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-03-20 12:45:43 +10:30
parent f57d9c8b4f
commit f02bbd42aa
2 changed files with 4 additions and 4 deletions

View File

@ -84,8 +84,8 @@ extern playermove_t pmove;
extern int onground;
extern int waterlevel;
extern int watertype;
extern vec3_t player_mins;
extern vec3_t player_maxs;
extern const vec3_t player_mins;
extern const vec3_t player_maxs;
void PlayerMove(void);

View File

@ -35,8 +35,8 @@ int watertype;
static float frametime;
vec3_t player_mins = { -16, -16, -24 };
vec3_t player_maxs = { 16, 16, 32 };
const vec3_t player_mins = { -16, -16, -24 };
const vec3_t player_maxs = { 16, 16, 32 };
// #define PM_GRAVITY 800
// #define PM_STOPSPEED 100