[loading window] Forgot to refresh before commiting, again.

This commit is contained in:
Henrik Andersson
2011-06-05 12:25:07 +02:00
parent 1679709981
commit 98204d5b56
2 changed files with 24 additions and 14 deletions
+9 -1
View File
@@ -19,5 +19,13 @@ InGameLoadingWindow::~InGameLoadingWindow() {
}
void InGameLoadingWindow::SetText( RString str ) {
m_Text.SetText( str );
textChanged=true;
currentText=str;
}
void InGameLoadingWindow::Update(float delta) {
if(textChanged) {
m_Text.SetText( currentText );
textChanged=false;
}
}