diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-01 08:33:58 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-01 08:33:58 -0500 |
commit | ba8bca00461fb47b14fa9fba7d4c85bb78d8c7e8 (patch) | |
tree | f87805294243ae3de6fd701f876e68c8598ce018 /main.cpp | |
parent | e02aaafad3ecef8752b538a2421c5e36fe4809c2 (diff) |
Updated event handling speed
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -495,6 +495,7 @@ void mainLoop(void){ /* * Run the logic handler if MSEC_PER_TICK milliseconds have passed. */ + ui::handleEvents(); if(prevPrevTime + MSEC_PER_TICK <= currentTime){ logic(); prevPrevTime = currentTime; @@ -809,7 +810,7 @@ void logic(){ /* * Handle user input (keyboard & mouse). */ - ui::handleEvents(); + //ui::handleEvents(); /* * Run the world's detect function. This handles the physics of the player and any entities |