From b834426548107af96c2568af22cbf8604f230965 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 12 Mar 2011 18:07:57 +0100 Subject: fixed several problems with spectator view in game and demo player. Closes #83 --- src/game/server/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/server') diff --git a/src/game/server/player.cpp b/src/game/server/player.cpp index 7d2f4ad9..82b45011 100644 --- a/src/game/server/player.cpp +++ b/src/game/server/player.cpp @@ -126,7 +126,7 @@ void CPlayer::Snap(int SnappingClient) if(m_ClientID == SnappingClient) pPlayerInfo->m_Local = 1; - if(m_ClientID == SnappingClient && m_Team == TEAM_SPECTATORS && m_SpectatorID != SPEC_FREEVIEW) + if(m_ClientID == SnappingClient && m_Team == TEAM_SPECTATORS) { CNetObj_SpectatorInfo *pSpectatorInfo = static_cast(Server()->SnapNewItem(NETOBJTYPE_SPECTATORINFO, m_ClientID, sizeof(CNetObj_SpectatorInfo))); if(!pSpectatorInfo) -- cgit 1.4.1