diff options
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp index 835d400d..908d6178 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -843,7 +843,7 @@ Path Map::findPath(int startX, int startY, int destX, int destY, // It costs extra to walk through a being (needs to be enough // to make it more attractive to walk around). // N.B.: Specific to TmwAthena for now. - if (Net::getNetworkType() == ServerType::TMWATHENA && + if (Net::getNetworkType() == ServerType::TmwAthena && occupied(x, y)) { Gcost += 3 * basicCost; |