From: terencehill Date: Fri, 8 Mar 2013 21:15:35 +0000 (+0100) Subject: Fix wrong parameters sending prevent join message X-Git-Tag: xonotic-v0.7.0~73^2^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0102957b7db3d606b11f6f1064727137614326d2;p=xonotic%2Fxonotic-data.pk3dir.git Fix wrong parameters sending prevent join message --- diff --git a/qcsrc/server/cl_client.qc b/qcsrc/server/cl_client.qc index 7633e5ff2..0ef810024 100644 --- a/qcsrc/server/cl_client.qc +++ b/qcsrc/server/cl_client.qc @@ -2349,7 +2349,7 @@ void LeaveSpectatorMode() else { // Player may not join because g_maxplayers is set - Send_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER_CPID, CPID_PREVENT_JOIN); + Send_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER, CENTER_JOIN_PREVENT); } } diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index f97ef15e4..d363de527 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -166,7 +166,7 @@ void ClientCommand_join(float request) else { //player may not join because of g_maxplayers is set - Send_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER_CPID, CPID_PREVENT_JOIN); + Send_Notification(NOTIF_ONE_ONLY, self, MSG_CENTER, CENTER_JOIN_PREVENT); } } }