1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

rogueviz:: draw legend if there are multiple edge types even if no standard legend is present

This commit is contained in:
Zeno Rogue 2018-09-07 15:18:20 +02:00
parent a74a73cac1
commit 7515503dee

View File

@ -1373,7 +1373,7 @@ vector<cell*> named;
bool rogueviz_hud() { bool rogueviz_hud() {
if(!rogueviz::on) return false; if(!rogueviz::on) return false;
if(cmode & sm::DRAW) return false; if(cmode & sm::DRAW) return false;
if(legend.empty()) return true; if(legend.empty() && isize(edgetypes) < 2) return true;
initquickqueue(); initquickqueue();
int qet = isize(edgetypes); int qet = isize(edgetypes);