about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-10 21:30:19 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-10 21:30:19 +0000
commit110834e85983f586f50b2b13498ff2924f8073aa (patch)
tree3d2f0e18dbead9b0b16c4cbfcc2b5257224883c0 /src/game
parent88d9ca9181d11038d5b582270245dd40740444d3 (diff)
downloadzcatch-110834e85983f586f50b2b13498ff2924f8073aa.tar.gz
zcatch-110834e85983f586f50b2b13498ff2924f8073aa.zip
fixed nameplats in spectator
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/game_client.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp
index d1bdfe2b..b8af6e06 100644
--- a/src/game/client/game_client.cpp
+++ b/src/game/client/game_client.cpp
@@ -2222,7 +2222,10 @@ void render_game()
 		}
 	}
 
-	local_target_pos = local_character_pos + mouse_pos;
+	if(spectate)
+		local_target_pos = mouse_pos;
+	else
+		local_target_pos = local_character_pos + mouse_pos;
 
 	// snap input
 	{