vrheights

diff src/main.cc @ 5:053a52f0cb64

console
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 26 Sep 2014 18:40:15 +0300
parents 690ef7fa791f
children 7f6d68d95c22
line diff
     1.1 --- a/src/main.cc	Fri Sep 26 13:19:22 2014 +0300
     1.2 +++ b/src/main.cc	Fri Sep 26 18:40:15 2014 +0300
     1.3 @@ -124,6 +124,10 @@
     1.4  		game_mouse_motion(ev->motion.x, ev->motion.y);
     1.5  		break;
     1.6  
     1.7 +	case SDL_QUIT:
     1.8 +		exit_game();
     1.9 +		break;
    1.10 +
    1.11  	default:
    1.12  		break;
    1.13  	}