Commit 7f1e1135 authored by salix5's avatar salix5

fix Game::DrawGUI()

parent 55536b64
......@@ -690,7 +690,7 @@ void Game::DrawGUI() {
while (imageLoading.size()) {
auto mit = imageLoading.cbegin();
mit->first->setImage(imageManager.GetTexture(mit->second));
imageLoading.erase(imageLoading.begin());
imageLoading.erase(mit);
}
for(auto fit = fadingList.begin(); fit != fadingList.end();) {
auto fthis = fit++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment