Nscommands: remove an hardcoded value
This commit is contained in:
1 parent
7e9e2b7b58
commit
3776650a38
1 file changed
+1
-1
@@ -123,7 +123,7 @@ public client_connect(id) {
|
||||
}
|
||||
stock UTIL_FindCommander() {
|
||||
new i=1;
|
||||
while (i<32) {
|
||||
while (i<MAX_PLAYERS) {
|
||||
if (g_Class[i]==PLAYERCLASS_COMMANDER) // this player is comm..
|
||||
return i;
|
||||
i++;
|
||||
|
||||
Reference in new issue
Block a user