diff options
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |