Cstrike: Remove unused defines and fix typo.

This commit is contained in:
Arkshine 2014-06-03 10:05:56 +02:00
parent d2f2748e9e
commit 2595fbe764
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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);