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 76f6b56b..1ddc8b65 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -886,7 +886,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() == ServerInfo::TMWATHENA && + if (Net::getNetworkType() == ServerType::TMWATHENA && occupied(x, y)) { Gcost += 3 * basicCost; |