]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix arguments for SendWaypoint, fixes onslaught waypoints
authorMario <mario@smbclan.net>
Sat, 9 Jul 2016 14:11:04 +0000 (00:11 +1000)
committerMario <mario@smbclan.net>
Sat, 9 Jul 2016 14:11:04 +0000 (00:11 +1000)
qcsrc/common/mutators/mutator/waypoints/waypointsprites.qc

index 0cd163386b4e0a44ff71e43038592791f0dd7df7..441173ef5ff24525c6371dba04b9681c0ec62b7f 100644 (file)
@@ -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);