diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-02 17:26:44 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-03-02 17:27:39 +0100 |
commit | 72ceaaa426166bfa425f519c2418a66872839e12 (patch) | |
tree | 1ce7253fc629d4df445b89b2f533899341f03fc5 /src/map.cpp | |
parent | 78d6d9352f66f41963207b04a999d94c17d67cf2 (diff) | |
download | mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.gz mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.bz2 mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.xz mana-72ceaaa426166bfa425f519c2418a66872839e12.zip |
Changed server type to "enum class"
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; |