1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +00:00

sol:: in_table_range used only in mdSolPerspective

This commit is contained in:
Zeno Rogue 2019-07-28 12:00:21 +02:00
parent ca3ad7af82
commit fa7585606d

View File

@ -1876,7 +1876,7 @@ bool do_draw(cell *c, const transmatrix& T) {
PROD( if(product::pmap) return product::in_actual([&] { return do_draw(product::get_at(c, product::plevel), T); }); )
if(WDIM == 3) {
if(cells_drawn > vid.cells_drawn_limit) return false;
if(sol)
if(pmodel == mdSolPerspective)
return solv::in_table_range(solv::ilocal_perspective * tC0(T));
else if(vid.use_smart_range) {
if(cells_drawn >= 50 && !in_smart_range(T)) return false;