]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
change MAX_CLIP_PLANES from 32 to 5 (back to old value)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Sep 2009 05:15:30 +0000 (05:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 27 Sep 2009 05:15:30 +0000 (05:15 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9246 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index 24b17ef7bd77dfe0423eec84a8967acbb3f0fbc8..507168c571fc8bbea6e958756e437949b3d0a065 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -821,8 +821,7 @@ If stepnormal is not NULL, the plane normal of any vertical wall hit will be sto
 */
 static float SV_Gravity (prvm_edict_t *ent);
 static qboolean SV_PushEntity (trace_t *trace, prvm_edict_t *ent, vec3_t push, qboolean failonbmodelstartsolid, qboolean dolink);
-// LordHavoc: increased from 5 to 32
-#define MAX_CLIP_PLANES 32
+#define MAX_CLIP_PLANES 5
 static int SV_FlyMove (prvm_edict_t *ent, float time, qboolean applygravity, float *stepnormal, int hitsupercontentsmask)
 {
        int blocked, bumpcount;