summaryrefslogtreecommitdiff
path: root/src/progs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-10 19:00:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-10 19:31:42 +0300
commit675b9f793e5b36862294e4f0419c5cf2eab72164 (patch)
tree2750b8d336e6f670f4684a55800195f025cb846f /src/progs
parent495110a8cb407548e227b062f6446b8eaa9605d0 (diff)
downloadplus-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.gz
plus-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.bz2
plus-675b9f793e5b36862294e4f0419c5cf2eab72164.tar.xz
plus-675b9f793e5b36862294e4f0419c5cf2eab72164.zip
Fix some asserts in text command editor.
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();