- print cheat prompts to the regular message display.

This commit is contained in:
Christoph Oelckers 2020-09-25 22:41:17 +02:00
parent 047c5de286
commit 8b9853ad28
1 changed files with 2 additions and 2 deletions

View File

@ -99,12 +99,12 @@ void genericCheat(int player, uint8_t** stream, bool skip)
return; return;
if (player == myconnectindex) if (player == myconnectindex)
Printf("%s\n", msg); Printf(PRINT_NOTIFY, "%s\n", msg);
else else
{ {
FString message = GStrings("TXT_X_CHEATS"); FString message = GStrings("TXT_X_CHEATS");
//message.Substitute("%s", player->userinfo.GetName()); // fixme - make globally accessible //message.Substitute("%s", player->userinfo.GetName()); // fixme - make globally accessible
Printf("%s: %s\n", message.GetChars(), msg); Printf(PRINT_NOTIFY, "%s: %s\n", message.GetChars(), msg);
} }
} }