diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-15 18:04:26 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2007-01-15 18:04:26 +0000 |
commit | 91dd615dac22bf465267e5e3ce145a8da81541d8 (patch) | |
tree | c97fb0261010e3596daac06e00f9c1937e818185 /src/gui/updatewindow.cpp | |
parent | 37c4ff1d8c00c2215d0feeaa6ba0d86b9916e3af (diff) | |
download | mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.gz mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.bz2 mana-91dd615dac22bf465267e5e3ce145a8da81541d8.tar.xz mana-91dd615dac22bf465267e5e3ce145a8da81541d8.zip |
Fixed issue where the player stops walking.v0.0.22.1
Diffstat (limited to 'src/gui/updatewindow.cpp')
-rw-r--r-- | src/gui/updatewindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/updatewindow.cpp b/src/gui/updatewindow.cpp index 628082d0..99c09baa 100644 --- a/src/gui/updatewindow.cpp +++ b/src/gui/updatewindow.cpp @@ -138,7 +138,7 @@ void UpdaterWindow::action(const gcn::ActionEvent &event) if (event.getId() == "cancel") { // Register the user cancel - mUserCancel=true; + mUserCancel = true; // Skip the updating process if (mDownloadStatus == UPDATE_COMPLETE) { @@ -372,13 +372,13 @@ void UpdaterWindow::logic() case UPDATE_ERROR: if (mThread) { - if(mUserCancel){ + if (mUserCancel) { // Kill the thread, because user has canceled SDL_KillThread(mThread); // Set the flag to false again mUserCancel = false; } - else{ + else { SDL_WaitThread(mThread, NULL); } mThread = NULL; |