Make NewFaceFromFace const-correct

This commit is contained in:
Bill Currie 2010-08-29 20:34:59 +09:00
parent 6c89883c8f
commit 6ce7c5040b
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ struct surface_s *BuildSurfaces (void);
\return The new face.
*/
struct visfacet_s *NewFaceFromFace (struct visfacet_s *in);
struct visfacet_s *NewFaceFromFace (const struct visfacet_s *in);
/** Convert a brush-set to a list of clipped faces.

View file

@ -53,7 +53,7 @@ int csgfaces;
int csgmergefaces;
face_t *
NewFaceFromFace (face_t *in)
NewFaceFromFace (const face_t *in)
{
face_t *newf;