about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-14 23:16:48 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-14 23:16:48 +0000
commitc7603d55edf01f6c836d6bc1472530dc7ca77756 (patch)
tree102759aa6fd5188e03bcbe41a5e3d86b4e07ff04 /src/game
parent87ba16401b5576a5f3f9627688903740156a362f (diff)
downloadzcatch-c7603d55edf01f6c836d6bc1472530dc7ca77756.tar.gz
zcatch-c7603d55edf01f6c836d6bc1472530dc7ca77756.zip
improved walljump abit
Diffstat (limited to 'src/game')
-rw-r--r--src/game/server/game_server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/server/game_server.cpp b/src/game/server/game_server.cpp
index 7d41f540..ddb3d9ab 100644
--- a/src/game/server/game_server.cpp
+++ b/src/game/server/game_server.cpp
@@ -1201,9 +1201,9 @@ void player::tick()
 	
 	if(!grounded && vel.y > 0)
 	{
-		if(input.left && col_check_point((int)(pos.x-phys_size/2)-4, (int)(pos.y)))
+		if(col_check_point((int)(pos.x-phys_size/2)-4, (int)(pos.y)))
 			wall_sliding = -1;
-		if(input.right && col_check_point((int)(pos.x+phys_size/2)+4, (int)(pos.y)))
+		if(col_check_point((int)(pos.x+phys_size/2)+4, (int)(pos.y)))
 			wall_sliding = 1;
 	}