diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-30 08:47:07 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-11-30 08:47:07 -0500 |
commit | 45bca98b792f8ced1a57ef8c5beed2a90a79d47f (patch) | |
tree | 0ac3026c2a9bac4037cfe9003f532eca02db92f0 /main.cpp | |
parent | fbe1b6c3a0a3427111577e6b77600f5669012583 (diff) |
switched to 100% new/delete
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -496,11 +496,11 @@ void mainLoop(void){ /* * Run the logic handler if MSEC_PER_TICK milliseconds have passed. */ + if(prevPrevTime + MSEC_PER_TICK >= currentTime){ logic(); prevPrevTime = currentTime; } - //ui::handleMouse(); /* * Update player and entity coordinates. @@ -519,7 +519,7 @@ void mainLoop(void){ }else if(!(debugDiv%10)){ debugY = player->loc.y; - } + } render(); // Call the render loop |