mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-17 13:14:30 +00:00
fixed the index order for shpos
This commit is contained in:
1 parent
a9ec2be47e
commit
90c7d31483
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -1657,6 +1657,6 @@ addHook(hooks_removecells, 0, [] () {
|
||||
eliminate_if(buggycells, is_cell_removed);
|
||||
eliminate_if(butterflies, [] (pair<cell*,int>& p) { return is_cell_removed(p.first); });
|
||||
for(int i=0; i<SHSIZE; i++) for(int p=0; p<MAXPLAYER; p++)
|
||||
set_if_removed(shpos[p][i], NULL);
|
||||
set_if_removed(shpos[i][p], NULL);
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user