Fixed ULTRA LONG loading time bug introduced in 5593f427f6

Well... that escalated quickly :P
And it remained unnoticed for so long!
master
krzys-h 2015-08-07 22:36:50 +02:00
parent 57469533b6
commit 0468c3efdb
1 changed files with 2 additions and 3 deletions

View File

@ -2311,9 +2311,6 @@ bool CEngine::LoadAllTextures()
m_planet->LoadTexture();
m_firstGroundSpot = true;
UpdateGroundSpotTextures();
bool ok = true;
for (int objRank = 0; objRank < static_cast<int>( m_objects.size() ); objRank++)
@ -2562,6 +2559,8 @@ void CEngine::FlushTextureCache()
m_texNameMap.clear();
m_revTexNameMap.clear();
m_texBlacklist.clear();
m_firstGroundSpot = true;
}
bool CEngine::SetTexture(const std::string& name, int stage)