mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 21:24:30 +00:00
rogueviz:: sag:: fixed incorrect clearing of subcell_points
This commit is contained in:
1 parent
b3c69e412c
commit
b15384aeb8
2 files changed
+3
-1
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user