1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-20 12:58:06 +00:00

disable message wrapping if not appropriate

This commit is contained in:
Zeno Rogue
2025-12-07 13:11:10 +01:00
parent 2ad17ba3e1
commit 3641b523ca

View File

@@ -1067,7 +1067,7 @@ EX void drawmessage(const string& s, int& y, color_t col) {
if(nomsg) return;
int rrad = (int) realradius();
int space;
if(dual::state)
if(dual::state || nomap || in_perspective())
space = vid.xres;
else if(y > current_display->ycenter + rrad * pconf.stretch)
space = vid.xres;