From ba8bca00461fb47b14fa9fba7d4c85bb78d8c7e8 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Tue, 1 Dec 2015 08:33:58 -0500 Subject: Updated event handling speed --- main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 26c44f8..f1ede46 100644 --- a/main.cpp +++ b/main.cpp @@ -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 -- cgit v1.2.3