From 706bd0fa97b5f3da67d44f570a18f9f45ae4fad7 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Fri, 17 Aug 2012 17:20:09 +0100 Subject: [PATCH] Tick client more frequently and remove *pyc files from git --- .gitignore | 2 ++ src/PowderToySDL.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cf76a2317..cba39f251 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,5 @@ config.log *.sconf_temp *.gch *.pyc +site_scons/site_tools/mfprogram/*.pyc +site_scons/site_tools/gch/*.pyc \ No newline at end of file diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 3b8aeab6d..0a331f51d 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -531,7 +531,7 @@ int main(int argc, char * argv[]) engine->Tick(); engine->Draw(); - if(SDL_GetTicks()-lastTick>500) + if(SDL_GetTicks()-lastTick>250) { //Run client tick every second lastTick = SDL_GetTicks();