diff options
| author | oy <Tom_Adams@web.de> | 2011-02-13 13:58:59 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-02-13 13:58:59 +0100 |
| commit | 09cd38d3207fb619022d1cda157ecb1504600513 (patch) | |
| tree | be7ec495e97a1df81ded86391ddd9deea2052055 /src/game/client/gameclient.cpp | |
| parent | 825eca4bab1ea0dbdd401ed96d390390ca108638 (diff) | |
| download | zcatch-09cd38d3207fb619022d1cda157ecb1504600513.tar.gz zcatch-09cd38d3207fb619022d1cda157ecb1504600513.zip | |
cleaned up skin initialisation
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 99195dc3..b445803d 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -223,6 +223,8 @@ void CGameClient::OnConsoleInit() void CGameClient::OnInit() { + int64 Start = time_get(); + // set the language g_Localization.Load(g_Config.m_ClLanguagefile, Storage(), Console()); @@ -234,8 +236,6 @@ void CGameClient::OnInit() for(int i = 0; i < NUM_NETOBJTYPES; i++) Client()->SnapSetStaticsize(i, m_NetObjHandler.GetObjSize(i)); - int64 Start = time_get(); - // load default font static CFont *pDefaultFont = 0; char aFilename[512]; @@ -265,9 +265,6 @@ void CGameClient::OnInit() gs_LoadCurrent++; } - // load skins - ::gs_Skins.Init(); - // TODO: Refactor: fix threaded loading of sounds again // load sounds { |