From 70f765fc2b802e1f7b45fda30a8abf1353457e40 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 1 Oct 2013 03:05:10 -0700 Subject: [PATCH] Remove some monster specific mins/maxs checks --- qcsrc/csqcmodellib/cl_model.qc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/qcsrc/csqcmodellib/cl_model.qc b/qcsrc/csqcmodellib/cl_model.qc index 475c583cf..333309642 100644 --- a/qcsrc/csqcmodellib/cl_model.qc +++ b/qcsrc/csqcmodellib/cl_model.qc @@ -239,13 +239,7 @@ void CSQCModel_Read(float isnew) { vector oldmins = self.mins, oldmaxs = self.maxs; setmodelindex(self, self.modelindex); // this retrieves the .model key and sets mins/maxs/absmin/absmax - if(isplayer) - setsize(self, oldmins, oldmaxs); - else if(self.monsterid) - { - entity mon = get_monsterinfo(self.monsterid); - setsize(self, mon.mins, mon.maxs); - } + setsize(self, oldmins, oldmaxs); } if(sf & CSQCMODEL_PROPERTY_TELEPORTED) -- 2.39.2