]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix a compile error when using COLLISION_PARANOID 3.
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2014 00:51:07 +0000 (00:51 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 8 May 2014 00:51:07 +0000 (00:51 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12069 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index 50117fa6522db3b59e7c3daffe3e678521b8c4e2..7dc65c1a5754b64d11bbeed04842eaedd0191c9c 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -638,6 +638,7 @@ finished:
 #if COLLISIONPARANOID >= 1
 trace_t SV_TraceBox(const vec3_t start, const vec3_t mins, const vec3_t maxs, const vec3_t end, int type, prvm_edict_t *passedict, int hitsupercontentsmask)
 {
+       prvm_prog_t *prog = SVVM_prog;
        int endstuck;
        trace_t trace;
        vec3_t temp;