From 0c0fe9836c48ec52e1fba1e04b276d07d69dbedc Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 10 Jul 2016 00:11:04 +1000 Subject: [PATCH] Fix arguments for SendWaypoint, fixes onslaught waypoints --- qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2