mirror of
https://github.com/UberGames/RPG-X2.git
synced 2025-02-17 00:41:20 +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)
|
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 {
|
else {
|
||||||
for(i = 0; i < level.maxclients; i++)
|
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");
|
LUA_DEBUG("Game_MessagePrint - return: printed string");
|
||||||
|
|
Loading…
Reference in a new issue