Rever accidental change to Linux fix

This commit is contained in:
RGreenlees 2024-03-26 23:00:55 +00:00 committed by pierow
parent 4470feb4c5
commit c7efc37227
2 changed files with 7 additions and 7 deletions

View file

@ -160,7 +160,7 @@ void CONFIG_ParseConfigFile()
while (getline(cFile, line))
{
line.erase(std::remove_if(line.begin(), line.end(), isspace),
line.erase(std::remove_if(line.begin(), line.end(), ::isspace),
line.end());
if (line[0] == '#' || line.empty())
continue;

View file

@ -360,22 +360,22 @@ void AIMGR_RemoveAIPlayerFromTeam(int Team)
BotValue += 1000.0f; // Ensure this guy isn't kicked unless he's the only bot on the team!
break;
case PLAYERCLASS_ALIVE_HEAVY_MARINE:
BotValue += kHeavyArmorCost;
BotValue += BALANCE_VAR(kHeavyArmorCost);
break;
case PLAYERCLASS_ALIVE_JETPACK_MARINE:
BotValue += kJetpackCost;
BotValue += BALANCE_VAR(kJetpackCost);
break;
case PLAYERCLASS_ALIVE_LEVEL2:
BotValue += kGorgeCost;
BotValue += BALANCE_VAR(kGorgeCost);
break;
case PLAYERCLASS_ALIVE_LEVEL3:
BotValue += kLerkCost;
BotValue += BALANCE_VAR(kLerkCost);
break;
case PLAYERCLASS_ALIVE_LEVEL4:
BotValue += kFadeCost;
BotValue += BALANCE_VAR(kFadeCost);
break;
case PLAYERCLASS_ALIVE_LEVEL5:
BotValue += kOnosCost;
BotValue += BALANCE_VAR(kOnosCost);
break;
case PLAYERCLASS_ALIVE_GESTATING:
BotValue += 10.0f;