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/gamecontext.cpp | |
| 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/gamecontext.cpp')
| -rw-r--r-- | src/game/server/gamecontext.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 7aa9c295..0b27960b 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -744,7 +744,6 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) SendChatTarget(ClientID, " "); SendChatTarget(ClientID, "/info or /about - see information about author."); SendChatTarget(ClientID, "/help - learn how to play."); - SendChatTarget(ClientID, "/follow 1 or /follow 0 - Enables/Disables following of the catcher."); } else if(!str_comp("/help", pMsg->m_pMessage)) { @@ -754,22 +753,10 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) SendChatTarget(ClientID, "So the only way to win is to kill every player without beeing killed."); SendChatTarget(ClientID, "Have fun!"); } - else if(!str_comp("/follow 0", pMsg->m_pMessage)) - { - pPlayer->m_PlayerWantToFollowCatcher = 0; - pPlayer->m_SpectatorID = SPEC_FREEVIEW; - SendChatTarget(ClientID, "Follow of catcher disabled."); - } - else if(!str_comp("/follow 1", pMsg->m_pMessage)) - { - pPlayer->m_PlayerWantToFollowCatcher = 1; - SendChatTarget(ClientID, "Follow of catcher enabled."); - } else if(!str_comp_num("/", pMsg->m_pMessage, 1)) SendChatTarget(ClientID, "Unknown command."); else SendChat(ClientID, Team, pMsg->m_pMessage); - /* end zCatch */ } else if(MsgID == NETMSGTYPE_CL_CALLVOTE) |