1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-27 03:47:40 +00:00

stdout on --msg

This commit is contained in:
Zeno Rogue
2018-04-06 00:30:56 +02:00
parent bfd3ef6abb
commit 850269cbbc

View File

@@ -444,6 +444,7 @@ else if(args()[0] == '-' && args()[1] == x && args()[2] == '0') { showstartmenu
} }
else if(argis("--msg")) { else if(argis("--msg")) {
shift(); addMessage(args()); shift(); addMessage(args());
printf("%s\n", args().c_str());
} }
else if(argis("--msg0")) { else if(argis("--msg0")) {
clearMessages(); clearMessages();