From 2595fbe7648447c3c145faf14dfffcbb829aa93e Mon Sep 17 00:00:00 2001 From: Arkshine Date: Tue, 3 Jun 2014 10:05:56 +0200 Subject: [PATCH] Cstrike: Remove unused defines and fix typo. --- dlls/cstrike/cstrike/CstrikeDatas.h | 3 --- plugins/include/cstrike.inc | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/cstrike/cstrike/CstrikeDatas.h b/dlls/cstrike/cstrike/CstrikeDatas.h index 168ce307..d64c773e 100644 --- a/dlls/cstrike/cstrike/CstrikeDatas.h +++ b/dlls/cstrike/cstrike/CstrikeDatas.h @@ -146,17 +146,14 @@ #endif #if defined(__linux__) - #define CS_DETOURCOPYBYTES_CLIENTCOMMAND 6 #define CS_IDENT_USEBOTARGS "UseBotArgs" #define CS_IDENT_BOTARGS "BotArgs" #define CS_IDENT_HIDDEN_STATE false #elif defined(__APPLE__) - #define CS_DETOURCOPYBYTES_CLIENTCOMMAND 5 #define CS_IDENT_USEBOTARGS "UseBotArgs" #define CS_IDENT_BOTARGS "BotArgs" #define CS_IDENT_HIDDEN_STATE true #else - #define CS_DETOURCOPYBYTES_CLIENTCOMMAND 6 #define CS_CLICMD_OFFS_USEBOTARGS 2 #define CS_CLICMD_OFFS_BOTARGS 22 #endif diff --git a/plugins/include/cstrike.inc b/plugins/include/cstrike.inc index f8139107..2a8d4739 100755 --- a/plugins/include/cstrike.inc +++ b/plugins/include/cstrike.inc @@ -399,7 +399,7 @@ forward CS_InternalCommand(id, const cmd[]); * Called when a player attempts to purchase an item. * Return PLUGIN_CONTINUE to allow the purchase or return a higher action to deny. * - * @param id Player index. + * @param index Player index. * @param item Item index, see CSI_* constants. */ forward CS_OnBuy(index, item);