summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-02 17:26:44 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-03-02 17:27:39 +0100
commit72ceaaa426166bfa425f519c2418a66872839e12 (patch)
tree1ce7253fc629d4df445b89b2f533899341f03fc5 /src/resources
parent78d6d9352f66f41963207b04a999d94c17d67cf2 (diff)
downloadmana-72ceaaa426166bfa425f519c2418a66872839e12.tar.gz
mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.bz2
mana-72ceaaa426166bfa425f519c2418a66872839e12.tar.xz
mana-72ceaaa426166bfa425f519c2418a66872839e12.zip
Changed server type to "enum class"
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/monsterdb.cpp2
-rw-r--r--src/resources/settingsmanager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/monsterdb.cpp b/src/resources/monsterdb.cpp
index fc860958..49ee2174 100644
--- a/src/resources/monsterdb.cpp
+++ b/src/resources/monsterdb.cpp
@@ -54,7 +54,7 @@ void MonsterDB::init()
unload();
// This can be overridden by an 'offset' attribute on a 'monsters' root tag.
- mMonsterIdOffset = Net::getNetworkType() == ServerInfo::TMWATHENA ? OLD_TMWATHENA_OFFSET : 0;
+ mMonsterIdOffset = Net::getNetworkType() == ServerType::TMWATHENA ? OLD_TMWATHENA_OFFSET : 0;
}
void MonsterDB::setMonsterIdOffset(int offset)
diff --git a/src/resources/settingsmanager.cpp b/src/resources/settingsmanager.cpp
index f4a40577..28c08617 100644
--- a/src/resources/settingsmanager.cpp
+++ b/src/resources/settingsmanager.cpp
@@ -82,7 +82,7 @@ namespace SettingsManager
StatusEffect::checkStatus();
Units::checkStatus();
- if (Net::getNetworkType() == ServerInfo::MANASERV)
+ if (Net::getNetworkType() == ServerType::MANASERV)
{
Attributes::informItemDB();
}