From ffd4e606e829d29db472888a9c99b06306927667 Mon Sep 17 00:00:00 2001 From: Harry Young Date: Mon, 31 Oct 2011 22:06:57 +0100 Subject: [PATCH] Fixed game.MessagePrint so it gives Message instead of quiet center print. Signed-off-by: Harry Young --- game/lua_game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/lua_game.c b/game/lua_game.c index f7a67a9..f2652e4 100644 --- a/game/lua_game.c +++ b/game/lua_game.c @@ -166,10 +166,10 @@ static int Game_MessagePrint(lua_State *L) { } if(clNum != -1 && clNum >= 0 && clNum < level.maxclients) - trap_SendServerCommand(clNum, va("cp \"" S_COLOR_WHITE "%s\n\"", buf)); + trap_SendServerCommand(clNum, va("servermsg \"" S_COLOR_WHITE "%s\n\"", buf)); else { for(i = 0; i < level.maxclients; i++) - trap_SendServerCommand(i, va("cp \"" S_COLOR_WHITE "%s\n\"", buf)); + trap_SendServerCommand(i, va("servermsg \"" S_COLOR_WHITE "%s\n\"", buf)); } LUA_DEBUG("Game_MessagePrint - return: printed string");