vis: constify source argument to copy winding

Signed-off-by: Kevin Shanahan <kmshanah@disenchant.net>
This commit is contained in:
Kevin Shanahan 2013-05-08 11:32:12 +09:30
parent 2e74b15a08
commit c0d03cba32
2 changed files with 4 additions and 4 deletions

View File

@ -44,8 +44,8 @@ typedef struct {
} winding_t;
winding_t *NewWinding(int points);
winding_t *CopyWinding(winding_t * w);
void PlaneFromWinding(const winding_t * w, plane_t *plane);
winding_t *CopyWinding(const winding_t *w);
void PlaneFromWinding(const winding_t *w, plane_t *plane);
qboolean PlaneCompare(plane_t *p1, plane_t *p2);
typedef enum { pstat_none = 0, pstat_working, pstat_done } pstatus_t;
@ -139,7 +139,7 @@ extern char statetmpfile[1024];
void LeafFlow(int leafnum);
void BasePortalVis(void);
void PortalFlow(portal_t * p);
void PortalFlow(portal_t *p);
void CalcAmbientSounds(void);

View File

@ -166,7 +166,7 @@ prl(leaf_t * l)
==================
*/
winding_t *
CopyWinding(winding_t * w)
CopyWinding(const winding_t * w)
{
int size;
winding_t *c;