From 33ad7fe2203d93f3721b1e22faf94527b78f0f71 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 29 Sep 2015 08:09:06 -0400 Subject: readded readme, fixed world handling w/ interpolation --- src/ui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui.cpp') diff --git a/src/ui.cpp b/src/ui.cpp index ababe3e..13b898d 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -157,8 +157,8 @@ namespace ui { if(SDL_KEY==SDLK_w)currentWorld=currentWorld->goInsideStructure(player); if(SDL_KEY==SDLK_SPACE){ // Jump if(player->ground){ - player->vel.y=.25; - //player->loc.y+=HL + player->vel.y=.5; + player->loc.y+=HLINE*2; player->ground=false; } } -- cgit v1.2.3