summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 19:11:33 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-01-22 19:11:33 +0000
commitfafb16bfcbdafa78ca6b587090838cf9752313e5 (patch)
tree050ef04f816ec47ae1690e5518d24408ebc61675
parenta3dc55aad06753799b59db132b0a6beb813ecc00 (diff)
downloadmana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.gz
mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.bz2
mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.tar.xz
mana-fafb16bfcbdafa78ca6b587090838cf9752313e5.zip
Remove obsoleted action listeners.
-rw-r--r--ChangeLog1
-rw-r--r--src/main.cpp22
2 files changed, 1 insertions, 22 deletions
diff --git a/ChangeLog b/ChangeLog
index 64d96638..040a5e19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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()