mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Nscommands: remove an hardcoded value
This commit is contained in:
parent
7e9e2b7b58
commit
3776650a38
@ -123,7 +123,7 @@ public client_connect(id) {
|
|||||||
}
|
}
|
||||||
stock UTIL_FindCommander() {
|
stock UTIL_FindCommander() {
|
||||||
new i=1;
|
new i=1;
|
||||||
while (i<32) {
|
while (i<MAX_PLAYERS) {
|
||||||
if (g_Class[i]==PLAYERCLASS_COMMANDER) // this player is comm..
|
if (g_Class[i]==PLAYERCLASS_COMMANDER) // this player is comm..
|
||||||
return i;
|
return i;
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user