From 2da9c241e331c10c4e3ada000ee3dfa445324261 Mon Sep 17 00:00:00 2001 From: TimePath Date: Wed, 28 Mar 2018 20:17:33 +1100 Subject: [PATCH] debug_text_3d_fn: rename velocity parameter It does not shadow the velocity field, leading to a compile error --- qcsrc/common/debug.qh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index 7144bf3da..936f1e028 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -459,13 +459,13 @@ NET_HANDLE(debug_text_3d, bool is_new) { #define debug_text_3d_5(pos, msg, align, dur, vel) debug_text_3d_fn(pos, msg, align, dur, vel) ERASEABLE -void debug_text_3d_fn(vector pos, string msg, float align, float duration, vector velocity) { +void debug_text_3d_fn(vector pos, string msg, float align, float duration, vector vel) { WriteHeader(MSG_BROADCAST, debug_text_3d); WriteVector(MSG_BROADCAST, pos); WriteString(MSG_BROADCAST, msg); WriteFloat(MSG_BROADCAST, align); WriteFloat(MSG_BROADCAST, duration); - WriteVector(MSG_BROADCAST, velocity); + WriteVector(MSG_BROADCAST, vel); } #endif // SVQC -- 2.39.2