From b058f0eb96621b1cbdd58caf1eef9236d92c4913 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 18 Dec 2015 09:16:56 +1000 Subject: [PATCH] Update items when touching jumppads (fixes odd thrown weapon behaviour) --- qcsrc/common/triggers/trigger/jumppads.qc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qcsrc/common/triggers/trigger/jumppads.qc b/qcsrc/common/triggers/trigger/jumppads.qc index cdd383e53..8aa80a031 100644 --- a/qcsrc/common/triggers/trigger/jumppads.qc +++ b/qcsrc/common/triggers/trigger/jumppads.qc @@ -243,6 +243,12 @@ void trigger_push_touch() UpdateCSQCProjectile(other); } + if (other.flags & FL_ITEM) + { + ItemUpdate(other); + other.SendFlags |= ISF_DROP; + } + if (this.spawnflags & PUSH_ONCE) { this.touch = func_null; -- 2.39.2