summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client.h b/src/client.h
index 25c5b943f..15a851eb1 100644
--- a/src/client.h
+++ b/src/client.h
@@ -26,11 +26,10 @@
#include "state.h"
#include "listeners/configlistener.h"
+#include "listeners/errorlistener.h"
#include "net/serverinfo.h"
-#include "listeners/actionlistener.h"
-
#include <SDL.h>
#ifdef USE_SDL2
@@ -59,14 +58,7 @@ extern unsigned int tmwServerVersion;
extern int start_time;
extern int textures_count;
-class ErrorListener : public ActionListener
-{
- public:
- void action(const ActionEvent &event) override final;
-};
-
extern std::string errorMessage;
-extern ErrorListener errorListener;
extern LoginData loginData;
enum PacketTypes