diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-22 19:11:33 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-01-22 19:11:33 +0000 |
commit | fafb16bfcbdafa78ca6b587090838cf9752313e5 (patch) | |
tree | 050ef04f816ec47ae1690e5518d24408ebc61675 | |
parent | a3dc55aad06753799b59db132b0a6beb813ecc00 (diff) | |
download | mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.gz mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.bz2 mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.xz mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.zip |
Remove obsoleted action listeners.
-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() |