aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 674acea..3e8d04f 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -132,7 +132,7 @@ int main(int argc,char **argv){
prevTime = SDL_GetTicks();
}
- player.loc.x += player.vel.x * (deltaTime / 2); //update the player's x based on
+ player.loc.x += player.vel.x*deltaTime; //update the player's x based on
gw=currentWorld->getWidth();
if(player.loc.x+player.width>-1+gw){