mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-19 19:54:47 +00:00
Merge branch 'master' of https://github.com/zenorogue/hyperrogue
This commit is contained in:
commit
510c28227b
@ -1706,5 +1706,8 @@ addHook(hooks_removecells, 0, [] () {
|
||||
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[i][p], NULL);
|
||||
vector<cell*> to_remove;
|
||||
for(auto p: rosemap) if(is_cell_removed(p.first)) to_remove.push_back(p.first);
|
||||
for(auto r: to_remove) rosemap.erase(r);
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user