string modelname = self.model;
string s;
+ vector mi = self.mins;
+ vector ma = self.maxs;
+
// set modelindex
self.lodmodelindex0 = self.modelindex;
self.lodmodelindex1 = self.modelindex;
}
setmodel(self, modelname); // make everything normal again
+ setsize(self, mi, ma);
}
// apply LOD
if(sf & CSQCMODEL_PROPERTY_MODELINDEX)
setmodelindex(self, self.modelindex); // this retrieves the .model key and sets mins/maxs/absmin/absmax
+ // FIXME do we WANT this to override mins/maxs?
if(sf & CSQCMODEL_PROPERTY_TELEPORTED)
{