maint: remove gsc-tool hacks
All checks were successful
Build / build-linux (push) Successful in 9s

This commit is contained in:
6arelyFuture 2024-04-08 14:18:16 +02:00
parent 19a616764e
commit b65c498ea8
2 changed files with 2 additions and 13 deletions

View File

@ -14,19 +14,10 @@ GENERIC_INIT;
_ON_PLAYER_CNCT_BEGIN
#if defined(TOOL)
waittillframeend;
#endif
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, "load_saved_pos", "+activate" );
#endif
player thread jumper();
player thread displaySpeed();

View File

@ -135,14 +135,12 @@
#define WAIT_ANY_RET(ent, ...) ent waittill_any_return( __VA_ARGS__ )
#endif
#if !defined(TOOL)
#define PLAYER_NOTIFY_CMD(ent, str, action) ent notifyOnPlayerCommand( str, action )
#endif
/* Tweak as necessary. Can be return, continue or break */
#define CHK_ACTION continue
#if (defined(IW4MP) || defined(IW5x) || defined(IW5)) && !defined(TOOL)
#if (defined(IW4MP) || defined(IW5x) || defined(IW5))
#define BOT_CHK(ent) \
if ( ent isTestClient() ) \
{ \