diff options
| author | oy <Tom_Adams@web.de> | 2010-12-11 22:04:50 +0100 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-12-11 22:04:50 +0100 |
| commit | ecd7afd9ffe8f764cf8fbc6f01aeef55b9e2aa7f (patch) | |
| tree | 09ad68dae4a82ceabdd19b13eea3b5163b304122 /src/engine/client/client.cpp | |
| parent | eb569e60bd98bc044b9cda8b11ffbe25b30382a2 (diff) | |
| download | zcatch-ecd7afd9ffe8f764cf8fbc6f01aeef55b9e2aa7f.tar.gz zcatch-ecd7afd9ffe8f764cf8fbc6f01aeef55b9e2aa7f.zip | |
added cleaner exit on quit event by Choupom
Diffstat (limited to 'src/engine/client/client.cpp')
| -rw-r--r-- | src/engine/client/client.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index ac15d128..82e79a85 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -1856,7 +1856,8 @@ void CClient::Run() } // update input - Input()->Update(); + if(Input()->Update()) + break; // SDL_QUIT // update sound Sound()->Update(); |