1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

more fixes to multiplayer

This commit is contained in:
Zeno Rogue
2021-03-06 11:46:13 +01:00
parent 032a6b6df2
commit 40d450676e
15 changed files with 97 additions and 92 deletions

View File

@@ -29,8 +29,8 @@ EX bool chaosUnlocked = false;
EX bool chaosAchieved = false;
EX void doOvergenerate() {
for(int i=0; i<numplayers(); i++)
setdist(playerpos(i), 7 - getDistLimit() - genrange_bonus, NULL);
for(cell *pc: player_positions())
setdist(pc, 7 - getDistLimit() - genrange_bonus, NULL);
}
EX bool notDippingFor(eItem i) {