more fixes to multiplayer

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

No files matched your search

+1 -3
View File
@@ -137,9 +137,7 @@ EX bool passable(cell *w, cell *from, flagtype flags) {
if(from && from != w && nonAdjacent(from, w) && !F(P_IGNORE37 | P_BULLET)) return false;
for(int i=0; i<numplayers(); i++) {
cell *pp = playerpos(i);
if(!pp) continue;
for(cell *pp: player_positions()) {
if(w == pp && F(P_ONPLAYER)) return true;
if(from == pp && F(P_ONPLAYER) && F(P_REVDIR)) return true;