diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/main.cpp | 22 |
2 files changed, 1 insertions, 22 deletions
@@ -1,5 +1,6 @@ 2006-01-22 Björn Steinbrink <B.Steinbrink@gmx.de> + * src/main.cpp: Remove obsoleted action listeners. * src/main.cpp: Use generic error method for sound failure. * src/main.cpp, src/net/charserverhandler.cpp, src/net/loginhandler.cpp, src/net/maploginhandler.cpp, diff --git a/src/main.cpp b/src/main.cpp index d6fe8910..b5592b12 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -107,28 +107,6 @@ Uint32 nextFrame(Uint32 interval, void *param) } /** - * Listener used for responding to map start error dialog. - */ -class MapStartErrorListener : public gcn::ActionListener { - void action(const std::string &eventId) { - if (eventId == "ok") { - state = LOGIN_STATE; - } - } -} mapStartErrorListener; - -/** - * Listener used for responding to init warning. - */ -class InitWarningListener : public gcn::ActionListener { - void action(const std::string &eventId) { - if (eventId == "ok") { - state = LOGIN_STATE; - } - } -} initWarningListener; - -/** * Do all initialization stuff */ void init_engine() |