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
1 changed files with 1 additions and 1 deletions

View File

@ -1960,7 +1960,7 @@ bool limited_generation(cell *c) {
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(cells_drawn > vid.cells_drawn_limit) return false;
if(nil && pmodel == mdGeodesic) {