From 91cb97ab7d05e011384b6bfcaf8baf3b34d94083 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Wed, 11 Sep 2019 14:36:47 +0200 Subject: [PATCH] item_tfgoal: Set bounding box. --- src/server/tfc/item_tfgoal.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server/tfc/item_tfgoal.cpp b/src/server/tfc/item_tfgoal.cpp index 31105992..e6a3d70f 100644 --- a/src/server/tfc/item_tfgoal.cpp +++ b/src/server/tfc/item_tfgoal.cpp @@ -45,6 +45,8 @@ item_tfgoal::Respawn(void) solid = SOLID_TRIGGER; movetype = MOVETYPE_NONE; setmodel(this, m_oldModel); + setsize(this, VEC_HULL_MIN, VEC_HULL_MAX); + setorigin(this, m_oldOrigin); } void @@ -67,4 +69,3 @@ item_tfgoal::item_tfgoal(void) CBaseEntity::CBaseEntity(); item_tfgoal::Respawn(); } -