diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-12 16:05:15 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-12 16:05:15 -0400 |
commit | d68b30ee201579e06f050a9448e4dcf883860064 (patch) | |
tree | 1243a177a7667debd186ca9b44da979a439ce4d4 /src/main.cpp | |
parent | ec1a918b845457b4d578f4d31257b989b5de3d42 (diff) |
fexid
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
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){ |