From: Mario Date: Sun, 28 Aug 2016 16:48:51 +0000 (+1000) Subject: Fix potential for crashing in freezetag X-Git-Tag: xonotic-v0.8.2~652 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3cdaea3bae3b5d469ce37e58f08cc8c0f94eceba;p=xonotic%2Fxonotic-data.pk3dir.git Fix potential for crashing in freezetag --- diff --git a/qcsrc/server/mutators/mutator/gamemode_freezetag.qc b/qcsrc/server/mutators/mutator/gamemode_freezetag.qc index 602a55b6b..cd7372699 100644 --- a/qcsrc/server/mutators/mutator/gamemode_freezetag.qc +++ b/qcsrc/server/mutators/mutator/gamemode_freezetag.qc @@ -334,7 +334,7 @@ MUTATOR_HOOKFUNCTION(ft, PlayerDies) { entity frag_attacker = M_ARGV(1, entity); entity frag_target = M_ARGV(2, entity); - float frag_deathtype = M_ARGV(2, float); + float frag_deathtype = M_ARGV(3, float); if(round_handler_IsActive()) if(round_handler_CountdownRunning())