From: Mario Date: Sat, 11 Jun 2016 10:36:06 +0000 (+1000) Subject: Fix argument number, hopefully fixes crash X-Git-Tag: xonotic-v0.8.2~825 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=eacc6ff396af72fb4e2382fa187e52b96501ee14;p=xonotic%2Fxonotic-data.pk3dir.git Fix argument number, hopefully fixes crash --- diff --git a/qcsrc/server/mutators/events.qh b/qcsrc/server/mutators/events.qh index a18b6b80d..55f4e1496 100644 --- a/qcsrc/server/mutators/events.qh +++ b/qcsrc/server/mutators/events.qh @@ -442,8 +442,8 @@ MUTATOR_HOOKABLE(SV_ParseServerCommand, EV_SV_ParseServerCommand); #define EV_Spawn_Score(i, o) \ /** player wanting to spawn */ i(entity, MUTATOR_ARGV_0_entity) \ /** spot to be evaluated */ i(entity, MUTATOR_ARGV_1_entity) \ - /** spot score, _x is priority, _y is "distance" */ i(vector, MUTATOR_ARGV_0_vector) \ - /**/ o(vector, MUTATOR_ARGV_0_vector) \ + /** spot score, _x is priority, _y is "distance" */ i(vector, MUTATOR_ARGV_2_vector) \ + /**/ o(vector, MUTATOR_ARGV_2_vector) \ /**/ MUTATOR_HOOKABLE(Spawn_Score, EV_Spawn_Score);