Make PlaneTypeForNormal const-correct.

This commit is contained in:
Bill Currie 2010-08-27 21:38:09 +09:00
parent 9a30968c87
commit c9eb679c41
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ extern int numbrushplanes;
extern plane_t planes[MAX_MAP_PLANES];
brushset_t *Brush_LoadEntity (entity_t *ent, int hullnum);
int PlaneTypeForNormal (vec3_t normal);
int PlaneTypeForNormal (const vec3_t normal);
int FindPlane (plane_t *dplane, int *side);
#endif//qfbsp_brush_h

View file

@ -134,7 +134,7 @@ AddToBounds (brushset_t *bs, vec3_t v)
}
int
PlaneTypeForNormal (vec3_t normal)
PlaneTypeForNormal (const vec3_t normal)
{
float ax, ay, az;