From 55434a2a571304f7b6bc8e3933cad610a2b1ef6a Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 22 Sep 2010 00:30:08 +0200 Subject: [PATCH] added fix by Sworddragon for stopped loading bar at the beginning --- src/game/client/gameclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 1c0633b98..09eef1b88 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++; }