diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-22 19:09:37 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-22 19:09:37 +0000 |
commit | a3dc55aad06753799b59db132b0a6beb813ecc00 (patch) | |
tree | 6b4fe63dd7a5794f4a5c7dd8178b3224b1400114 /src/main.cpp | |
parent | bd56bf8afdab16383ed8ad08412a8c807f84af85 (diff) | |
download | mana-a3dc55aad06753799b59db132b0a6beb813ecc00.tar.gz mana-a3dc55aad06753799b59db132b0a6beb813ecc00.tar.bz2 mana-a3dc55aad06753799b59db132b0a6beb813ecc00.tar.xz mana-a3dc55aad06753799b59db132b0a6beb813ecc00.zip |
Use generic error method for sound failure.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index c9320713..d6fe8910 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -59,7 +59,6 @@ #include "gui/error.h" #include "gui/gui.h" #include "gui/login.h" -#include "gui/ok_dialog.h" #include "gui/register.h" #include "gui/updatewindow.h" #include "gui/textfield.h" @@ -294,7 +293,7 @@ void init_engine() } catch (const char *err) { state = ERROR_STATE; - new OkDialog("Sound Engine", err, &initWarningListener); + errorMessage = err; logger->log("Warning: %s", err); } |