aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index c52528a..929d1c8 100644
--- a/main.cpp
+++ b/main.cpp
@@ -181,6 +181,7 @@ unsigned int millis(void){
/*******************************************************************************
* MAIN ************************************************************************
*******************************************************************************/
+
int main(int argc, char *argv[]){
gameRunning=false;
@@ -739,6 +740,7 @@ void logic(){
*/
currentWorld->detect(player);
+ if(player->loc.y<.02)gameRunning=false;
/*
* Entity logic: This loop finds every entity that is alive and in the current world. It then