diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-13 12:05:07 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-09-13 12:05:07 -0400 |
commit | 8a88ef32f41a69166280dae8f59fa6477fd3609a (patch) | |
tree | 75029feae16259416fb05da791c5b89fdf4766a7 /src/main.cpp | |
parent | a8fb538152c5e7d83b161a3868870aa4009ea36f (diff) |
fixed jumping
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 ed80ee2..88c08ef 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -191,7 +191,7 @@ void logic(){ if(player.left == true) {player.vel.x = -.00075;} if(player.right == false && player.left == false) {player.vel.x = 0;} - std::cout<<"\r("<<player.loc.x<<","<<player.loc.y<<")"<<std::endl; + std::cout<<"\r("<<player.loc.x<<","<<player.loc.y<<")"; currentWorld->detect(&player.loc,&player.vel,player.width); |