diff options
| author | Dominik Geyer <dominik.geyer@gmx.de> | 2008-09-09 15:50:41 +0000 |
|---|---|---|
| committer | Dominik Geyer <dominik.geyer@gmx.de> | 2008-09-09 15:50:41 +0000 |
| commit | 51a9d23dae18ec7a678bdf4215f48d863a720fdc (patch) | |
| tree | a29a599405c5ef1eab9631dc736837b8048e1282 /src/game/client/gameclient.cpp | |
| parent | 3b086d616a9090f714c90c7985f10c5dc4bd5733 (diff) | |
| download | zcatch-51a9d23dae18ec7a678bdf4215f48d863a720fdc.tar.gz zcatch-51a9d23dae18ec7a678bdf4215f48d863a720fdc.zip | |
fixed spectator mode freeview
Diffstat (limited to 'src/game/client/gameclient.cpp')
| -rw-r--r-- | src/game/client/gameclient.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index 4f18cf65..9c13c107 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -544,6 +544,9 @@ void GAMECLIENT::on_snapshot() if(p) gameclient.snap.local_prev_character = (NETOBJ_CHARACTER *)p; } + + if (info->team == -1) + gameclient.snap.spectate = true; } // calculate team-balance |