diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-18 08:45:29 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-12-18 08:45:29 -0500 |
commit | 0b9561febb7677de8792ba0feb056139ba7c94ea (patch) | |
tree | 0dc30d1b4abb4b90080bfe0060a4f5d3fddc751c /main.cpp | |
parent | 1b2510a427cea42e6381d60f434b5fdec2b181b0 (diff) |
pages
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -198,15 +198,11 @@ extern int fadeIntensity; /******************************************************************************* * MAIN ************************************************************************ *******************************************************************************/ - -#include <X11/Xlib.h> - + int main(/*int argc, char *argv[]*/){ //*argv = (char *)argc; gameRunning=false; - XInitThreads(); - /*! * (Attempt to) Initialize SDL libraries so that we can use SDL facilities and eventually * make openGL calls. Exit if there was an error. @@ -905,6 +901,7 @@ void logic(){ m->wander((rand()%240 + 15)); // Make the mob wander :) break; case MS_TRIGGER: + case MS_PAGE: m->wander(0); break; case MS_DOOR: |