From: Mario Date: Sat, 9 Jul 2016 14:11:04 +0000 (+1000) Subject: Fix arguments for SendWaypoint, fixes onslaught waypoints X-Git-Tag: xonotic-v0.8.2~700^2~90 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0c0fe9836c48ec52e1fba1e04b276d07d69dbedc;p=xonotic%2Fxonotic-data.pk3dir.git Fix arguments for SendWaypoint, fixes onslaught waypoints --- diff --git a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc index 0cd163386..441173ef5 100644 --- a/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc +++ b/qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc @@ -24,6 +24,8 @@ bool WaypointSprite_SendEntity(entity this, entity to, float sendflags) f |= 2; // my own MUTATOR_CALLHOOK(SendWaypoint, this, to, sendflags, f); + sendflags = M_ARGV(2, int); + f = M_ARGV(3, int); WriteByte(MSG_ENTITY, sendflags); WriteByte(MSG_ENTITY, this.wp_extra);