From 0102957b7db3d606b11f6f1064727137614326d2 Mon Sep 17 00:00:00 2001 From: terencehill Date: Fri, 8 Mar 2013 22:15:35 +0100 Subject: [PATCH] Fix wrong parameters sending prevent join message --- qcsrc/server/cl_client.qc | 2 +- qcsrc/server/command/cmd.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } } } -- 2.39.2