summaryrefslogtreecommitdiff
path: root/src
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
parent0c43d04b438d41c277ae80402d4b4888db1a0b64 (diff)
downloadmana-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.gz
mana-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.bz2
mana-9e0079918ed96b1b1f839b525146d14b1c794c52.tar.xz
mana-9e0079918ed96b1b1f839b525146d14b1c794c52.zip
Fixed loading of units when skipping updates
Diffstat (limited to 'src')
-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;