This is a fork of Zandronum Beta for TSPG.
Révision | 4efebe291e44d697039ecf117fd4bbc619c604a8 (tree) |
---|---|
l'heure | 2022-07-08 10:01:51 |
Auteur | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Backed out changeset: e3f901eb92cc
Removes: "The "addbot" CCMD is no longer blacklisted on TSPG. Hosts are allowed to add up to 16 bots to a server."
@@ -3840,13 +3840,11 @@ | ||
3840 | 3840 | // |
3841 | 3841 | CCMD( addbot ) |
3842 | 3842 | { |
3843 | - /* | |
3844 | 3843 | // [TSPG] |
3845 | 3844 | #if defined( SERVER_ONLY ) && defined( SERVER_BLACKLIST ) |
3846 | 3845 | if ( gamestate != GS_STARTUP ) |
3847 | 3846 | return; |
3848 | 3847 | #endif |
3849 | - */ | |
3850 | 3848 | |
3851 | 3849 | CSkullBot *pBot; |
3852 | 3850 | ULONG ulPlayerIdx; |
@@ -3889,13 +3887,6 @@ | ||
3889 | 3887 | return; |
3890 | 3888 | } |
3891 | 3889 | |
3892 | - // [TSPG] We only allow up to 16 bots on a single server. | |
3893 | - if ( BOTS_CountBots( ) >= 16 ) | |
3894 | - { | |
3895 | - Printf( "The maximum number of bots allowed is 16, you cannot add any more.\n" ); | |
3896 | - return; | |
3897 | - } | |
3898 | - | |
3899 | 3890 | switch ( argv.argc( ) ) |
3900 | 3891 | { |
3901 | 3892 | case 1: |