Correction to plot level and index check.

This commit is contained in:
Patrick Shriwise 2020-09-03 22:30:46 -05:00
parent 53108e3459
commit 301f15139f
2 changed files with 2 additions and 2 deletions

View file

@ -184,7 +184,7 @@ T PlotBase::get_map() const {
// local variables
bool found_cell = find_cell(p, 0);
j = p.n_coord_ - 1;
if (level >= 0) {j = level + 1;}
if (level >= 0) { j = level; }
if (found_cell) {
data.set_value(y, x, p, j);
}