1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-10 15:59:53 +00:00

yet another fixup : plevel -> current_view_level

This commit is contained in:
Zeno Rogue 2019-08-18 21:31:09 +02:00
parent 890f23c00c
commit c28fac248b

View File

@ -1960,7 +1960,7 @@ bool limited_generation(cell *c) {
EX bool do_draw(cell *c, const transmatrix& T) { EX bool do_draw(cell *c, const transmatrix& T) {
if(product::pmap) return product::in_actual([&] { return do_draw(product::get_at(c, 0), T); }); if(product::pmap) return product::in_actual([&] { return do_draw(product::get_at(c, product::current_view_level), 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(nil && pmodel == mdGeodesic) { if(nil && pmodel == mdGeodesic) {