From 64a37da4cb8d74a29f369e96e8c3669275516394 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Tue, 6 Oct 2009 23:40:55 +0200 Subject: Some cleanup regarding keeping track of gender for eAthena LoginHandler now owns the world list and the token, instead of having them as global variables with pointers to the 'sex' member of the token from the GUI. --- src/game.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index 60b13a06..aea478b5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -161,8 +161,9 @@ const int MILLISECONDS_IN_A_TICK = 10; * Listener used for exiting handling. */ namespace { - struct ExitListener : public gcn::ActionListener + class ExitListener : public gcn::ActionListener { + public: void action(const gcn::ActionEvent &event) { if (event.getId() == "yes" || event.getId() == "ok") -- cgit v1.2.3-70-g09d2