light: make Light_PointInSolid non-static

This commit is contained in:
Eric Wasylishen 2016-05-30 02:00:38 -06:00
parent 43ab4171d7
commit dba4739444
2 changed files with 3 additions and 1 deletions

View File

@ -137,6 +137,8 @@ void WriteEntitiesToString(bsp2_t *bsp);
vec_t GetLightValue(const lightsample_t *light, const entity_t *entity, vec_t dist);
bool Light_PointInSolid(const bsp2_t *bsp, const vec3_t point );
#ifdef __cplusplus
}
#endif

View File

@ -1237,7 +1237,7 @@ static bool Light_PointInSolid_r(const bsp2_t *bsp, int nodenum, const vec3_t po
}
}
static bool Light_PointInSolid(const bsp2_t *bsp, const vec3_t point )
bool Light_PointInSolid(const bsp2_t *bsp, const vec3_t point )
{
/* check all models */
for (int i=0; i<bsp->nummodels; i++) {