Merge pull request 'Fix some oversights with kartbot_cap' (#105) from Wumbo/blankart:fixbotcap into blankart-dev
Reviewed-on: https://codeberg.org/NepDisk/blankart/pulls/105
This commit is contained in:
commit
77d3e020cd
1 changed files with 1 additions and 8 deletions
|
|
@ -257,14 +257,7 @@ void K_UpdateMatchRaceBots(void)
|
|||
else
|
||||
{
|
||||
difficulty = cv_kartbot.value;
|
||||
if (netgame)
|
||||
{
|
||||
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_maxplayers.value));
|
||||
}
|
||||
if (cv_kartbot_cap.value > 0)
|
||||
{
|
||||
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_kartbot_cap.value));
|
||||
}
|
||||
pmax = std::min<UINT8>(pmax, static_cast<UINT8>(cv_kartbot_cap.value));
|
||||
}
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; i++)
|
||||
|
|
|
|||
Loading…
Reference in a new issue