1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

prettylinesub no longer tries to be pretty if flat

This commit is contained in:
Zeno Rogue 2019-09-09 16:07:30 +02:00
parent e628465eaa
commit bc76bc472c

View File

@ -1559,7 +1559,7 @@ EX void prettypoint(const hyperpoint& h) {
}
EX void prettylinesub(const hyperpoint& h1, const hyperpoint& h2, int lev) {
if(lev >= 0) {
if(lev >= 0 && pmodel != mdFlatten) {
hyperpoint h3 = midz(h1, h2);
prettylinesub(h1, h3, lev-1);
prettylinesub(h3, h2, lev-1);