diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_buildable.c | 4 | ||||
-rw-r--r-- | src/game/g_local.h | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c index 4e2610db..be0d7b47 100644 --- a/src/game/g_buildable.c +++ b/src/game/g_buildable.c @@ -66,8 +66,8 @@ G_CheckSpawnPoint Check if a spawn at a specified point is valid =============== */ -gentity_t *G_CheckSpawnPoint( int spawnNum, vec3_t origin, vec3_t normal, - buildable_t spawn, vec3_t spawnOrigin ) +gentity_t *G_CheckSpawnPoint( int spawnNum, const vec3_t origin, + const vec3_t normal, buildable_t spawn, vec3_t spawnOrigin ) { float displacement; vec3_t mins, maxs; diff --git a/src/game/g_local.h b/src/game/g_local.h index 1c1ac54b..7ea873cd 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -774,8 +774,9 @@ typedef enum IBE_MAXERRORS } itemBuildError_t; -gentity_t *G_CheckSpawnPoint( int spawnNum, vec3_t origin, vec3_t normal, - buildable_t spawn, vec3_t spawnOrigin ); +gentity_t *G_CheckSpawnPoint( int spawnNum, const vec3_t origin, + const vec3_t normal, buildable_t spawn, + vec3_t spawnOrigin ); buildable_t G_IsPowered( vec3_t origin ); qboolean G_IsDCCBuilt( void ); |