From f727d6800727257eba95032ddd1b056f210064c4 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 21 Oct 2016 11:38:32 +1000 Subject: [PATCH] Reapply size to func_breakable when changing its model --- qcsrc/common/triggers/func/breakable.qc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qcsrc/common/triggers/func/breakable.qc b/qcsrc/common/triggers/func/breakable.qc index d2c8ee067..b6dcd01f8 100644 --- a/qcsrc/common/triggers/func/breakable.qc +++ b/qcsrc/common/triggers/func/breakable.qc @@ -109,6 +109,7 @@ void func_breakable_look_destroyed(entity this) this.origin_z = floorZ; } _setmodel(this, this.mdl_dead); + ApplyMinMaxScaleAngles(this); this.effects &= ~EF_NODRAW; } @@ -120,6 +121,7 @@ void func_breakable_look_destroyed(entity this) void func_breakable_look_restore(entity this) { _setmodel(this, this.mdl); + ApplyMinMaxScaleAngles(this); this.effects &= ~EF_NODRAW; if(this.mdl_dead != "") // only do this if we use mdl_dead, to behave better with misc_follow -- 2.39.2