summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-22 19:53:08 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-22 19:53:08 +0100
commit9e0079918ed96b1b1f839b525146d14b1c794c52 (patch)
treec8727e6b22ca416529df6768c974205da696acb3 /src/main.cpp
parent0c43d04b438d41c277ae80402d4b4888db1a0b64 (diff)
downloadmana-client-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.gz
mana-client-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.bz2
mana-client-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.xz
mana-client-9e0079918ed96b1b1f839b525146d14b1c794c52.zip
Fixed loading of units when skipping updates
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7d623f69..b9919a2c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1548,8 +1548,6 @@ int main(int argc, char *argv[])
login_wallpaper->decRef();
login_wallpaper = ResourceManager::getInstance()->
getImage(wallpaperName);
- // Load units
- Units::loadUnits();
break;
// Those states don't cause a network disconnect
@@ -1594,6 +1592,9 @@ int main(int argc, char *argv[])
NPCDB::load();
EmoteDB::load();
+ // Load units
+ Units::loadUnits();
+
state = STATE_CHAR_CONNECT;
break;