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:
parent
ca3ad7af82
commit
fa7585606d
@ -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); }); )
|
PROD( if(product::pmap) return product::in_actual([&] { return do_draw(product::get_at(c, product::plevel), T); }); )
|
||||||
if(WDIM == 3) {
|
if(WDIM == 3) {
|
||||||
if(cells_drawn > vid.cells_drawn_limit) return false;
|
if(cells_drawn > vid.cells_drawn_limit) return false;
|
||||||
if(sol)
|
if(pmodel == mdSolPerspective)
|
||||||
return solv::in_table_range(solv::ilocal_perspective * tC0(T));
|
return solv::in_table_range(solv::ilocal_perspective * tC0(T));
|
||||||
else if(vid.use_smart_range) {
|
else if(vid.use_smart_range) {
|
||||||
if(cells_drawn >= 50 && !in_smart_range(T)) return false;
|
if(cells_drawn >= 50 && !in_smart_range(T)) return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user