diff options
| author | Teetime <TeetimeTW@yahoo.de> | 2013-01-12 08:12:07 +0100 |
|---|---|---|
| committer | Teetime <TeetimeTW@yahoo.de> | 2013-01-12 08:12:07 +0100 |
| commit | 5fb4698205040edc43c7e5aca89e4e2252604c20 (patch) | |
| tree | 6aed31144d6033d63ce6240e932dbc943ab0009b /src/game/server/gamemodes | |
| parent | 90770bc12e3266cf428b66abbbd4d6bb85a5bc55 (diff) | |
| download | zcatch-5fb4698205040edc43c7e5aca89e4e2252604c20.tar.gz zcatch-5fb4698205040edc43c7e5aca89e4e2252604c20.zip | |
removed a feature which has been anyway used very rarely
Diffstat (limited to 'src/game/server/gamemodes')
| -rw-r--r-- | src/game/server/gamemodes/zcatch.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/server/gamemodes/zcatch.cpp b/src/game/server/gamemodes/zcatch.cpp index 393f4511..30948d12 100644 --- a/src/game/server/gamemodes/zcatch.cpp +++ b/src/game/server/gamemodes/zcatch.cpp @@ -78,8 +78,7 @@ int CGameController_zCatch::OnCharacterDeath(class CCharacter *pVictim, class CP pVictim->GetPlayer()->m_CaughtBy = pKiller->GetCID(); pVictim->GetPlayer()->SetTeamDirect(TEAM_SPECTATORS); - if(pVictim->GetPlayer()->m_PlayerWantToFollowCatcher) - pVictim->GetPlayer()->m_SpectatorID = pKiller->GetCID(); // Let the victim follow his catcher + pVictim->GetPlayer()->m_SpectatorID = pKiller->GetCID(); // Let the victim follow his catcher char aBuf[256]; str_format(aBuf, sizeof(aBuf), "Caught by \"%s\". You will join the game automatically when \"%s\" dies.", Server()->ClientName(pKiller->GetCID()), Server()->ClientName(pKiller->GetCID())); |