]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
gl_rsurf: Don't cull geometry that leaves the view frustum with r_lockvisibility
[xonotic/darkplaces.git] / sv_phys.c
index 94587293cf4956671d6cc7b253460a6fe7908724..fcd37002b92a0f5bb311c0f2e65c54fa32d69ff1 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1983,7 +1983,7 @@ SV_Physics_Pusher
 static void SV_Physics_Pusher (prvm_edict_t *ent)
 {
        prvm_prog_t *prog = SVVM_prog;
-       float thinktime, oldltime, movetime;
+       prvm_vec_t thinktime, oldltime, movetime;
 
        oldltime = PRVM_serveredictfloat(ent, ltime);
 
@@ -2993,7 +2993,7 @@ void SV_Physics_ClientMove(void)
                // angle fixing was requested by physics code...
                // so store the current angles for later use
                VectorCopy(PRVM_serveredictvector(ent, angles), host_client->fixangle_angles);
-               host_client->fixangle_angles_set = TRUE;
+               host_client->fixangle_angles_set = true;
 
                // and clear fixangle for the next frame
                PRVM_serveredictfloat(ent, fixangle) = 0;
@@ -3052,7 +3052,7 @@ static void SV_Physics_ClientEntity_PostThink(prvm_edict_t *ent)
                // angle fixing was requested by physics code...
                // so store the current angles for later use
                VectorCopy(PRVM_serveredictvector(ent, angles), host_client->fixangle_angles);
-               host_client->fixangle_angles_set = TRUE;
+               host_client->fixangle_angles_set = true;
 
                // and clear fixangle for the next frame
                PRVM_serveredictfloat(ent, fixangle) = 0;