about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTeetime <anton.tsoulos@yahoo.de>2011-10-14 00:31:49 +0200
committerTeetime <anton.tsoulos@yahoo.de>2011-10-14 00:31:49 +0200
commit8471bc0721196a45ade9f6af174eac8ab82d47bd (patch)
tree8a9b1fb5aa8d0d25004c129baa6d60186354c986
parent74a5a7021597c4f752830171271aea36cb1ebcd7 (diff)
downloadzcatch-8471bc0721196a45ade9f6af174eac8ab82d47bd.tar.gz
zcatch-8471bc0721196a45ade9f6af174eac8ab82d47bd.zip
changed zCatch version...
-rw-r--r--src/game/server/gamecontext.cpp4
-rw-r--r--src/game/version.h1
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