mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2024-12-28 15:45:41 +03:00
set force align stack for ClientCommand (for compatibility with the amxx cstrike module hacks)
This commit is contained in:
parent
82d49fdcb6
commit
ffd603a477
@ -404,7 +404,7 @@ void CheckStartMoney()
|
||||
CVAR_SET_FLOAT("mp_startmoney", max_money);
|
||||
else if (money < 0)
|
||||
CVAR_SET_FLOAT("mp_startmoney", 0);
|
||||
#endif // REGAMEDLL_ADD
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
@ -2299,7 +2299,7 @@ BOOL HandleRadioAliasCommands(CBasePlayer *pPlayer, const char *pszCommand)
|
||||
}
|
||||
|
||||
// Use CMD_ARGV, CMD_ARGV, and CMD_ARGC to get pointers the character string command.
|
||||
void EXT_FUNC ClientCommand(edict_t *pEntity)
|
||||
void EXT_ALIGN ClientCommand(edict_t *pEntity)
|
||||
{
|
||||
const char *pcmd = CMD_ARGV_(0);
|
||||
const char *pstr = NULL;
|
||||
|
@ -199,5 +199,5 @@
|
||||
// DLLEXPORT is defined, for convenience.
|
||||
#define C_DLLEXPORT extern "C" DLLEXPORT
|
||||
|
||||
#define EXT_FUNC /*FORCE_STACK_ALIGN*/
|
||||
#define EXT_FUNC FORCE_STACK_ALIGN
|
||||
#define EXT_ALIGN FORCE_STACK_ALIGN
|
||||
|
Loading…
Reference in New Issue
Block a user