mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-07-14 23:22:49 +00:00
rogueviz:: sag:: fixed incorrect clearing of subcell_points
This commit is contained in:
parent
b3c69e412c
commit
b15384aeb8
@ -677,6 +677,9 @@ int cell_read_args() {
|
|||||||
else if(argis("-gen-subcellpoints")) {
|
else if(argis("-gen-subcellpoints")) {
|
||||||
generate_subcellpoints();
|
generate_subcellpoints();
|
||||||
}
|
}
|
||||||
|
else if(argis("-subcellpoints-off")) {
|
||||||
|
subcell_points.clear();
|
||||||
|
}
|
||||||
/* to viz only subcellpoints */
|
/* to viz only subcellpoints */
|
||||||
else if(argis("-sag-clear")) {
|
else if(argis("-sag-clear")) {
|
||||||
shmup::monstersAt.clear();
|
shmup::monstersAt.clear();
|
||||||
|
@ -346,7 +346,6 @@ void clear() {
|
|||||||
cell_matrix.clear();
|
cell_matrix.clear();
|
||||||
cellpoint.clear();
|
cellpoint.clear();
|
||||||
sagdist.clear();
|
sagdist.clear();
|
||||||
subcell_points.clear();
|
|
||||||
sag_edge = nullptr;
|
sag_edge = nullptr;
|
||||||
state = 0;
|
state = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user