From eba3f5d4d11b21d23e2bbe5f573ca27dfa75f23d Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 12 Mar 2013 23:12:30 +0000 Subject: [PATCH] ------------------------------------------------------------------------ r4234 | acceptthis | 2013-03-02 18:03:32 +0000 (Sat, 02 Mar 2013) | 1 line main model size wasn't set for q2bsps, breaking qw player physics due to an optimisation. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4230 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/gl_q2bsp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/common/gl_q2bsp.c b/engine/common/gl_q2bsp.c index 2b4705ecf..bb592f0f4 100644 --- a/engine/common/gl_q2bsp.c +++ b/engine/common/gl_q2bsp.c @@ -1048,6 +1048,9 @@ qboolean CMod_LoadSubmodels (lump_t *l) out->numsurfaces = LittleLong (in->numfaces); } + VectorCopy(map_cmodels[0].mins, loadmodel->mins); + VectorCopy(map_cmodels[0].maxs, loadmodel->maxs); + return true; }