From 4979115f01ec8b28d7ffdc9f94df7c4dddbd7dd8 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 9 Nov 2013 07:42:14 +1100 Subject: [PATCH] Comment out size reset (can cause crashes with some models on first load) --- qcsrc/csqcmodellib/cl_model.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/csqcmodellib/cl_model.qc b/qcsrc/csqcmodellib/cl_model.qc index 333309642..d5035716e 100644 --- a/qcsrc/csqcmodellib/cl_model.qc +++ b/qcsrc/csqcmodellib/cl_model.qc @@ -237,9 +237,9 @@ void CSQCModel_Read(float isnew) if(sf & CSQCMODEL_PROPERTY_MODELINDEX) { - vector oldmins = self.mins, oldmaxs = self.maxs; + //vector oldmins = self.mins, oldmaxs = self.maxs; setmodelindex(self, self.modelindex); // this retrieves the .model key and sets mins/maxs/absmin/absmax - setsize(self, oldmins, oldmaxs); + //setsize(self, oldmins, oldmaxs); } if(sf & CSQCMODEL_PROPERTY_TELEPORTED) -- 2.39.2