diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-02 11:09:04 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-02 11:09:04 +0000 |
commit | 365b0c6330ea607706b708d92da7a46b1ed1fb15 (patch) | |
tree | 67e8136d48e8e7f0c5bdc17b4a2c284dcf202641 /src/client/input.cc | |
parent | 6c8446cddb37df732fc9e5fc21f98e31968ce634 (diff) |
introduced libsys
implemented signal handling
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index 5f38d35..3e37a19 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -46,7 +46,7 @@ void Input::handle_keypressed(SDL_keysym* keysym) { switch( keysym->sym ) { case SDLK_ESCAPE: - client::application.shutdown(); + application.shutdown(); break; case SDLK_LEFT: camera.rotate_left(); @@ -91,7 +91,7 @@ void Input::process() handle_keyreleased( &event.key.keysym ); break; case SDL_QUIT: - client::application.shutdown(); + application.shutdown(); break; } |