Skip to content

Commit 3f291c3

Browse files
authored
Merge pull request #921 from drzel/remove-password-stuff
Remove the quad maxplayers stuff
2 parents 09ddc60 + 70ac917 commit 3f291c3

File tree

5 files changed

+1
-14
lines changed

5 files changed

+1
-14
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ New features
55
------
66

77
* `setinfo precise_grenades on/off` to enable precise timing when throwing grenades. This removes a random, up to, 100ms input delay. (default on)
8-
* Server option to limit `sv_maxclients` to current number of players during quad gametime. `localinfo limit_quad_players 0/1`. Default: `1`.
98
* `localinfo forcereload 0/1` Option to prevent forced reloads.
109
* `+grenade1` and `+grenade2` grenade buttons (more reliable than impulses), push to prime, again to throw.
1110
* `+dropflag` Allows player to hold button and flag will be thrown on contact.

ssqc/clan.qc

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,17 +1084,13 @@ float () CheckAllPlayersReady = {
10841084

10851085
local float f1 = TeamFortress_GetNoActivePlayers();
10861086
bprint (PRINT_HIGH, "Total players ready - ",ftos(v_ready),"/",ftos(f1),".\n");
1087+
10871088
if (v_ready == f1 && v_ready > 0) {
10881089
if(cease_fire) {
10891090
bprint (2, "All players ready, match will start after ceasefire ends.\n");
10901091
} else {
10911092
bprint (2, "All players ready, starting match\n");
10921093
StartTimer ();
1093-
1094-
local float limit_quad_players = CF_GetSetting("lqp", "limit_quad_players", "on");
1095-
if (limit_quad_players) {
1096-
quad_maxplayers = f1;
1097-
}
10981094
}
10991095
return 1;
11001096
}

ssqc/client.qc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3101,12 +3101,6 @@ void (optional float csqcactive) ClientConnect = {
31013101
}
31023102
if (cb_prematch)
31033103
sprint(self, PRINT_HIGH, "Currently in \sprematch\s time\n");
3104-
3105-
local float numplayers = TeamFortress_GetNoActivePlayers ();
3106-
if (quadmode && quad_maxplayers && (numplayers >= quad_maxplayers)) {
3107-
sprint(self, PRINT_HIGH, "Match in progress, forcing to observer\n");
3108-
forceinfokey(self, "*spectator", "1");
3109-
}
31103104
};
31113105

31123106
float () RejoinWithTfId = {

ssqc/qw.qc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ string nextmap;
131131
//
132132
// FortressMap stuff
133133
//
134-
float quad_maxplayers;
135134
float number_of_teams;
136135
float illegalclasses;
137136
float illegalclasses1;

ssqc/world.qc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ void () worldspawn = {
9696

9797
lastspawn = world;
9898
number_of_teams = 0;
99-
quad_maxplayers = 0;
10099

101100
InitBodyQue();
102101
if (self.model == "maps/e1m8.bsp")

0 commit comments

Comments
 (0)