Cstrike: Remove unused defines and fix typo.
This commit is contained in:
parent
d2f2748e9e
commit
2595fbe764
|
@ -146,17 +146,14 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#define CS_DETOURCOPYBYTES_CLIENTCOMMAND 6
|
|
||||||
#define CS_IDENT_USEBOTARGS "UseBotArgs"
|
#define CS_IDENT_USEBOTARGS "UseBotArgs"
|
||||||
#define CS_IDENT_BOTARGS "BotArgs"
|
#define CS_IDENT_BOTARGS "BotArgs"
|
||||||
#define CS_IDENT_HIDDEN_STATE false
|
#define CS_IDENT_HIDDEN_STATE false
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
#define CS_DETOURCOPYBYTES_CLIENTCOMMAND 5
|
|
||||||
#define CS_IDENT_USEBOTARGS "UseBotArgs"
|
#define CS_IDENT_USEBOTARGS "UseBotArgs"
|
||||||
#define CS_IDENT_BOTARGS "BotArgs"
|
#define CS_IDENT_BOTARGS "BotArgs"
|
||||||
#define CS_IDENT_HIDDEN_STATE true
|
#define CS_IDENT_HIDDEN_STATE true
|
||||||
#else
|
#else
|
||||||
#define CS_DETOURCOPYBYTES_CLIENTCOMMAND 6
|
|
||||||
#define CS_CLICMD_OFFS_USEBOTARGS 2
|
#define CS_CLICMD_OFFS_USEBOTARGS 2
|
||||||
#define CS_CLICMD_OFFS_BOTARGS 22
|
#define CS_CLICMD_OFFS_BOTARGS 22
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -399,7 +399,7 @@ forward CS_InternalCommand(id, const cmd[]);
|
||||||
* Called when a player attempts to purchase an item.
|
* Called when a player attempts to purchase an item.
|
||||||
* Return PLUGIN_CONTINUE to allow the purchase or return a higher action to deny.
|
* 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.
|
* @param item Item index, see CSI_* constants.
|
||||||
*/
|
*/
|
||||||
forward CS_OnBuy(index, item);
|
forward CS_OnBuy(index, item);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user