1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 13:07:16 +00:00

rogueviz:: sag:: fixed incorrect clearing of subcell_points

This commit is contained in:
Zeno Rogue 2024-10-20 01:53:31 +02:00
parent b3c69e412c
commit b15384aeb8
2 changed files with 3 additions and 1 deletions

View File

@ -677,6 +677,9 @@ int cell_read_args() {
else if(argis("-gen-subcellpoints")) {
generate_subcellpoints();
}
else if(argis("-subcellpoints-off")) {
subcell_points.clear();
}
/* to viz only subcellpoints */
else if(argis("-sag-clear")) {
shmup::monstersAt.clear();

View File

@ -346,7 +346,6 @@ void clear() {
cell_matrix.clear();
cellpoint.clear();
sagdist.clear();
subcell_points.clear();
sag_edge = nullptr;
state = 0;
}