summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs')
-rw-r--r--src/progs/manaplus/client.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/progs/manaplus/client.cpp b/src/progs/manaplus/client.cpp
index be5c7ca81..9bc4b03cb 100644
--- a/src/progs/manaplus/client.cpp
+++ b/src/progs/manaplus/client.cpp
@@ -1922,13 +1922,14 @@ void Client::loadData()
TranslationManager::loadDictionaryLang();
PlayerInfo::stateChange(mState);
+ AttributesEnum::init();
+ DbManager::loadDb();
+
delete spellManager;
spellManager = new SpellManager;
delete spellShortcut;
spellShortcut = new SpellShortcut;
- AttributesEnum::init();
- DbManager::loadDb();
EquipmentWindow::prepareSlotNames();
ActorSprite::load();