summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2010-04-12 16:05:51 -0600
committerJared Adams <jaxad0127@gmail.com>2010-04-12 16:31:53 -0600
commit6035ea7abd218932baa23fe7ff9b2e894f6d313f (patch)
treeb2b28f6345f80b2c6907b187e4eafd2acaa11f67 /src/map.cpp
parentcd727d2223bc51f282bec29d666a0f5f30bdd151 (diff)
downloadmana-6035ea7abd218932baa23fe7ff9b2e894f6d313f.tar.gz
mana-6035ea7abd218932baa23fe7ff9b2e894f6d313f.tar.bz2
mana-6035ea7abd218932baa23fe7ff9b2e894f6d313f.tar.xz
mana-6035ea7abd218932baa23fe7ff9b2e894f6d313f.zip
Completely ignore eAthena job 45
These are warps. Reviewed-by: Bertram
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 3da94ea8..7ee18450 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -539,9 +539,7 @@ bool Map::occupied(int x, int y) const
{
const Being *being = *i;
- // Eathena: The Job 45 is a portal, so they don't collide.
- if (being->getTileX() == x && being->getTileY() == y
- && being->getJob() != 45)
+ if (being->getTileX() == x && being->getTileY() == y)
return true;
}