mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-31 01:37:57 +00:00
more fixes to multiplayer
This commit is contained in:
@@ -1178,9 +1178,9 @@ EX void killThePlayer(eMonster m, int id, flagtype flags) {
|
||||
}
|
||||
|
||||
EX void killThePlayerAt(eMonster m, cell *c, flagtype flags) {
|
||||
for(int i=0; i<numplayers(); i++)
|
||||
if(playerpos(i) == c)
|
||||
killThePlayer(m, i, flags);
|
||||
for(int i: player_indices())
|
||||
if(playerpos(i) == c)
|
||||
killThePlayer(m, i, flags);
|
||||
}
|
||||
|
||||
#if HDR
|
||||
|
Reference in New Issue
Block a user