]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_user.c
fixed gcc and linux related compilation problems from Black's recent commit
[xonotic/darkplaces.git] / sv_user.c
index 372b09bd21332b9680f80bda34eb21a9f6735fa3..a5645629d14f181e7f53010399a02a8473f4b0e8 100644 (file)
--- a/sv_user.c
+++ b/sv_user.c
@@ -66,7 +66,7 @@ void SV_SetIdealPitch (void)
 
                tr = SV_Move (top, vec3_origin, vec3_origin, bottom, MOVE_NOMONSTERS, sv_player);
                // if looking at a wall, leave ideal the way is was
-               if (tr.allsolid)
+               if (tr.startsolid)
                        return;
 
                // near a dropoff