From 39471c1fb7c361417fee5edda6c96d2b66ad1f6c Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sun, 1 May 2022 16:47:27 -0700 Subject: [PATCH] item_suit: Tweak SetSize() call and do DropToFloor() --- src/server/item_suit.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/server/item_suit.qc b/src/server/item_suit.qc index 9cb315f..16afc43 100644 --- a/src/server/item_suit.qc +++ b/src/server/item_suit.qc @@ -76,7 +76,7 @@ item_suit::Respawn(void) SetMovetype(MOVETYPE_TOSS); SetOrigin(GetSpawnOrigin()); SetModel(GetSpawnModel()); - SetSize(VEC_HULL_MIN, VEC_HULL_MAX); + SetSize(VEC_HULL_MIN + [0,0,36], VEC_HULL_MAX + [0,0,36]); m_iValue = FALSE; think = __NULL__; @@ -84,6 +84,8 @@ item_suit::Respawn(void) if (!real_owner && time > 30.0f) Sound_Play(this, CHAN_ITEM, "item.respawn"); + + DropToFloor(); } void