diff options
| -rw-r--r-- | src/game/server/gamecontext.cpp | 4 | ||||
| -rw-r--r-- | src/game/version.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 85b352cd..c537cbde 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -691,8 +691,10 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID) /* begin zCatch*/ if(!str_comp("/info", pMsg->m_pMessage) || !str_comp("/about", pMsg->m_pMessage)) { + char aBuf[128]; + str_format(aBuf, sizeof(aBuf), "zCatch version %s by erd and Teetime. Type /cmdlist for all commands.", ZCATCH_VERSION); SendChatTarget(ClientID, " "); - SendChatTarget(ClientID, "zCatch v.0.4.1 by erd and Teetime. Type /cmdlist for all commands."); + SendChatTarget(ClientID, aBuf); } else if(!str_comp("/cmdlist", pMsg->m_pMessage)) { diff --git a/src/game/version.h b/src/game/version.h index 76b6d4ab..a65072ba 100644 --- a/src/game/version.h +++ b/src/game/version.h @@ -3,6 +3,7 @@ #ifndef GAME_VERSION_H #define GAME_VERSION_H #include "generated/nethash.cpp" +#define ZCATCH_VERSION "0.4.2 BETA" #define GAME_VERSION "0.6.1" #define GAME_NETVERSION "0.6 " GAME_NETVERSION_HASH #endif |