diff options
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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") |