Skip to content
Browse files

Don't use long in CollisionModel_local.h

  • Loading branch information...
1 parent e8f047b commit a0fb3cd6995668a722872439049bf81067ec78cc @DanielGibson DanielGibson committed with dhewg Jun 23, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 neo/cm/CollisionModel_local.h
View
8 neo/cm/CollisionModel_local.h
@@ -82,16 +82,16 @@ Collision model
typedef struct cm_vertex_s {
idVec3 p; // vertex point
int checkcount; // for multi-check avoidance
- unsigned long side; // each bit tells at which side this vertex passes one of the trace model edges
- unsigned long sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet
+ unsigned int side; // each bit tells at which side this vertex passes one of the trace model edges
+ unsigned int sideSet; // each bit tells if sidedness for the trace model edge has been calculated yet
} cm_vertex_t;
typedef struct cm_edge_s {
int checkcount; // for multi-check avoidance
unsigned short internal; // a trace model can never collide with internal edges
unsigned short numUsers; // number of polygons using this edge
- unsigned long side; // each bit tells at which side of this edge one of the trace model vertices passes
- unsigned long sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet
+ unsigned int side; // each bit tells at which side of this edge one of the trace model vertices passes
+ unsigned int sideSet; // each bit tells if sidedness for the trace model vertex has been calculated yet
int vertexNum[2]; // start and end point of edge
idVec3 normal; // edge normal
} cm_edge_t;

0 comments on commit a0fb3cd

Please sign in to comment.
Something went wrong with that request. Please try again.