diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-10 21:30:19 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-10 21:30:19 +0000 |
| commit | 110834e85983f586f50b2b13498ff2924f8073aa (patch) | |
| tree | 3d2f0e18dbead9b0b16c4cbfcc2b5257224883c0 /src/game | |
| parent | 88d9ca9181d11038d5b582270245dd40740444d3 (diff) | |
| download | zcatch-110834e85983f586f50b2b13498ff2924f8073aa.tar.gz zcatch-110834e85983f586f50b2b13498ff2924f8073aa.zip | |
fixed nameplats in spectator
Diffstat (limited to 'src/game')
| -rw-r--r-- | src/game/client/game_client.cpp | 5 |
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 { |