diff options
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index c27a29d6..17e9fd02 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -227,7 +227,8 @@ bool Map::getWalk(int x, int y) std::list<Being*>::iterator i = beings.begin(); while (i != beings.end()) { Being *being = (*i); - if (being->x == x && being->y == y) { + // Collision when non-portal being is found at this location + if (being->x == x && being->y == y && being->job != 45) { return false; } i++; |