Browse Source

Update Source/player.cpp

Co-authored-by: Stephen C. Wills <staphen@gmail.com>
pull/6050/head
Anders Jenbo 3 years ago
parent
commit
4c51e15f26
  1. 2
      Source/player.cpp

2
Source/player.cpp

@ -2685,7 +2685,7 @@ void FixPlrWalkTags(const Player &player)
{
for (int y = 0; y < MAXDUNY; y++) {
for (int x = 0; x < MAXDUNX; x++) {
if (PlayerAtPosition({ x, y }) != &player)
if (PlayerAtPosition({ x, y }) == &player)
dPlayer[x][y] = 0;
}
}

Loading…
Cancel
Save