From: bones_was_here Date: Wed, 27 Apr 2022 16:34:16 +0000 (+1000) Subject: Rename SendWelcomemessage_msg_type to SendWelcomeMessage X-Git-Tag: xonotic-v0.8.6~418^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bba2475e3a8b84e359ffae9b530d651f4d63e99a;p=xonotic%2Fxonotic-data.pk3dir.git Rename SendWelcomemessage_msg_type to SendWelcomeMessage --- 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; }