From 8471bc0721196a45ade9f6af174eac8ab82d47bd Mon Sep 17 00:00:00 2001 From: Teetime Date: Fri, 14 Oct 2011 00:31:49 +0200 Subject: changed zCatch version... --- src/game/server/gamecontext.cpp | 4 +++- src/game/version.h | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- cgit 1.4.1