This commit is contained in:
parent
19a616764e
commit
b65c498ea8
@ -14,19 +14,10 @@ GENERIC_INIT;
|
|||||||
|
|
||||||
_ON_PLAYER_CNCT_BEGIN
|
_ON_PLAYER_CNCT_BEGIN
|
||||||
|
|
||||||
#if defined(TOOL)
|
|
||||||
waittillframeend;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
BOT_CHK( player );
|
BOT_CHK( player );
|
||||||
|
|
||||||
#if defined(TOOL)
|
|
||||||
player notifyOnPlayerCommand( "save_pos", "+reload" );
|
|
||||||
player notifyOnPlayerCommand( "load_saved_pos", "+activate" );
|
|
||||||
#else
|
|
||||||
PLAYER_NOTIFY_CMD( player, "save_pos", "+reload" );
|
PLAYER_NOTIFY_CMD( player, "save_pos", "+reload" );
|
||||||
PLAYER_NOTIFY_CMD( player, "load_saved_pos", "+activate" );
|
PLAYER_NOTIFY_CMD( player, "load_saved_pos", "+activate" );
|
||||||
#endif
|
|
||||||
|
|
||||||
player thread jumper();
|
player thread jumper();
|
||||||
player thread displaySpeed();
|
player thread displaySpeed();
|
||||||
|
@ -135,14 +135,12 @@
|
|||||||
#define WAIT_ANY_RET(ent, ...) ent waittill_any_return( __VA_ARGS__ )
|
#define WAIT_ANY_RET(ent, ...) ent waittill_any_return( __VA_ARGS__ )
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(TOOL)
|
#define PLAYER_NOTIFY_CMD(ent, str, action) ent notifyOnPlayerCommand( str, action )
|
||||||
#define PLAYER_NOTIFY_CMD(ent, str, action) ent notifyOnPlayerCommand( str, action )
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Tweak as necessary. Can be return, continue or break */
|
/* Tweak as necessary. Can be return, continue or break */
|
||||||
#define CHK_ACTION continue
|
#define CHK_ACTION continue
|
||||||
|
|
||||||
#if (defined(IW4MP) || defined(IW5x) || defined(IW5)) && !defined(TOOL)
|
#if (defined(IW4MP) || defined(IW5x) || defined(IW5))
|
||||||
#define BOT_CHK(ent) \
|
#define BOT_CHK(ent) \
|
||||||
if ( ent isTestClient() ) \
|
if ( ent isTestClient() ) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user