From bba2475e3a8b84e359ffae9b530d651f4d63e99a Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Thu, 28 Apr 2022 02:34:16 +1000 Subject: [PATCH] Rename SendWelcomemessage_msg_type to SendWelcomeMessage --- qcsrc/server/client.qc | 2 +- qcsrc/server/client.qh | 2 +- qcsrc/server/scores.qc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 32c265e9c..1e07dc03f 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1022,7 +1022,7 @@ void ClientPreConnect(entity this) // NOTE csqc uses the active mutators list sent by this function // to understand which mutators are enabled // also note that they aren't all registered mutators, e.g. jetpack, low gravity -void SendWelcomemessage_msg_type(entity this, int msg_type) +void SendWelcomeMessage(entity this, int msg_type) { WriteByte(msg_type, boolean(autocvar_g_campaign)); if (boolean(autocvar_g_campaign)) diff --git a/qcsrc/server/client.qh b/qcsrc/server/client.qh index 8436aa6b3..9ba57f193 100644 --- a/qcsrc/server/client.qh +++ b/qcsrc/server/client.qh @@ -318,7 +318,7 @@ bool independent_players; .float nickspamtime; // time of last nick change .float nickspamcount; -void SendWelcomemessage_msg_type(entity this, int msg_type); +void SendWelcomeMessage(entity this, int msg_type); // respawning .int respawn_flags; diff --git a/qcsrc/server/scores.qc b/qcsrc/server/scores.qc index da3fddd60..512f61ad2 100644 --- a/qcsrc/server/scores.qc +++ b/qcsrc/server/scores.qc @@ -214,7 +214,7 @@ bool ScoreInfo_SendEntity(entity this, entity to, int sf) WriteByte(MSG_ENTITY, welcome_msg_too); // welcome message is sent here because it needs to know the gametype if (welcome_msg_too) - SendWelcomemessage_msg_type(to, MSG_ENTITY); + SendWelcomeMessage(to, MSG_ENTITY); return true; } -- 2.39.2