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:
parent
b3c69e412c
commit
b15384aeb8
@ -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();
|
||||
|
@ -346,7 +346,6 @@ void clear() {
|
||||
cell_matrix.clear();
|
||||
cellpoint.clear();
|
||||
sagdist.clear();
|
||||
subcell_points.clear();
|
||||
sag_edge = nullptr;
|
||||
state = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user