I hope it solves a timing problem with rendering and resetting the gui. https://forum.megaglest.org/index.php?topic=9163.0

This commit is contained in:
Titus Tscharntke 2013-09-14 23:56:26 +00:00
parent d30b8998db
commit a5834ddf57
1 changed files with 1 additions and 1 deletions

View File

@ -70,6 +70,7 @@ void Display::setUpImage(int i, const Texture2D *image)
//misc
void Display::clear(){
downSelectedPos= invalidPos;
for(int i=0; i<upCellCount; ++i){
upImages[i]= NULL;
}
@ -81,7 +82,6 @@ void Display::clear(){
commandClasses[i]= ccNull;
}
downSelectedPos= invalidPos;
title.clear();
text.clear();
progressBar= -1;