diff options
| author | oy <Tom_Adams@web.de> | 2010-09-22 00:30:08 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-09-22 00:30:08 +0200 |
| commit | 55434a2a571304f7b6bc8e3933cad610a2b1ef6a (patch) | |
| tree | 69ee7f5ef442ba9c9e18759d4ff1dfec09d93bf6 /src/game/client/gameclient.cpp | |
| parent | fc486cb0ab9b5a2e821236af5da24b59d92af7fa (diff) | |
| download | zcatch-55434a2a571304f7b6bc8e3933cad610a2b1ef6a.tar.gz zcatch-55434a2a571304f7b6bc8e3933cad610a2b1ef6a.zip | |
added fix by Sworddragon for stopped loading bar at the beginning
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 1c0633b9..09eef1b8 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -253,7 +253,7 @@ void CGameClient::OnInit() // load textures for(int i = 0; i < g_pData->m_NumImages; i++) { - g_GameClient.m_pMenus->RenderLoading(gs_LoadCurrent/gs_LoadTotal); + g_GameClient.m_pMenus->RenderLoading(gs_LoadCurrent/(float)gs_LoadTotal); g_pData->m_aImages[i].m_Id = Graphics()->LoadTexture(g_pData->m_aImages[i].m_pFilename, CImageInfo::FORMAT_AUTO, 0); gs_LoadCurrent++; } |