mirror of
https://github.com/UberGames/RPG-X2.git
synced 2024-11-26 06:11:21 +00:00
Fixed game.MessagePrint so it gives Message instead of quiet center print.
Signed-off-by: Harry Young <hendrik.gerritzen@googlemail.com>
This commit is contained in:
parent
45005c64b9
commit
ffd4e606e8
1 changed files with 2 additions and 2 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue