diff --git a/basegraph.cpp b/basegraph.cpp index 22d3d681..f579cea8 100644 --- a/basegraph.cpp +++ b/basegraph.cpp @@ -905,6 +905,7 @@ EX ld realradius() { } EX void drawmessage(const string& s, int& y, color_t col) { + if(nomsg) return; int rrad = (int) realradius(); int space; if(dual::state) diff --git a/config.cpp b/config.cpp index 8f0f77f6..3d0eecf9 100644 --- a/config.cpp +++ b/config.cpp @@ -3000,6 +3000,10 @@ EX int read_config_args() { PHASEFROM(2); nomenukey = true; } + else if(argis("-nomsg")) { + PHASEFROM(2); + nomsg = true; + } #if MAXMDIM >= 4 else if(argis("-switch-fpp")) { PHASEFROM(2); diff --git a/hud.cpp b/hud.cpp index 8622dd64..a23f805f 100644 --- a/hud.cpp +++ b/hud.cpp @@ -328,7 +328,7 @@ void displayglyph2(int cx, int cy, int buttonsize, int i) { } } -EX bool nohud, nomenukey; +EX bool nohud, nomenukey, nomsg; EX hookset hooks_prestats;