about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/server/gs_server.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/server/gs_server.cpp b/src/game/server/gs_server.cpp
index a34766f3..524b8dfc 100644
--- a/src/game/server/gs_server.cpp
+++ b/src/game/server/gs_server.cpp
@@ -1704,6 +1704,10 @@ void mods_client_input(int client_id, void *input)
 		//players[client_id].previnput = players[client_id].input;
 		players[client_id].input = *(player_input*)input;
 		players[client_id].num_inputs++;
+		
+		if(players[client_id].input.target_x == 0 && players[client_id].input.target_y == 0)
+			players[client_id].input.target_y = -1;
+			
 	}
 }