mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
stdout on --msg
This commit is contained in:
parent
bfd3ef6abb
commit
850269cbbc
@ -85,7 +85,7 @@ namespace arg {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int arg::readCommon() {
|
int arg::readCommon() {
|
||||||
if(argis("-c")) { PHASE(1); shift(); conffile = argcs(); }
|
if(argis("-c")) { PHASE(1); shift(); conffile = argcs(); }
|
||||||
else if(argis("-s")) { PHASE(1); shift(); scorefile = argcs(); }
|
else if(argis("-s")) { PHASE(1); shift(); scorefile = argcs(); }
|
||||||
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user