mirror of
https://github.com/ENSL/NS.git
synced 2024-11-14 00:40:57 +00:00
Rever accidental change to Linux fix
This commit is contained in:
parent
4470feb4c5
commit
c7efc37227
2 changed files with 7 additions and 7 deletions
|
@ -160,7 +160,7 @@ void CONFIG_ParseConfigFile()
|
||||||
|
|
||||||
while (getline(cFile, line))
|
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());
|
line.end());
|
||||||
if (line[0] == '#' || line.empty())
|
if (line[0] == '#' || line.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -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!
|
BotValue += 1000.0f; // Ensure this guy isn't kicked unless he's the only bot on the team!
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_HEAVY_MARINE:
|
case PLAYERCLASS_ALIVE_HEAVY_MARINE:
|
||||||
BotValue += kHeavyArmorCost;
|
BotValue += BALANCE_VAR(kHeavyArmorCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_JETPACK_MARINE:
|
case PLAYERCLASS_ALIVE_JETPACK_MARINE:
|
||||||
BotValue += kJetpackCost;
|
BotValue += BALANCE_VAR(kJetpackCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_LEVEL2:
|
case PLAYERCLASS_ALIVE_LEVEL2:
|
||||||
BotValue += kGorgeCost;
|
BotValue += BALANCE_VAR(kGorgeCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_LEVEL3:
|
case PLAYERCLASS_ALIVE_LEVEL3:
|
||||||
BotValue += kLerkCost;
|
BotValue += BALANCE_VAR(kLerkCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_LEVEL4:
|
case PLAYERCLASS_ALIVE_LEVEL4:
|
||||||
BotValue += kFadeCost;
|
BotValue += BALANCE_VAR(kFadeCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_LEVEL5:
|
case PLAYERCLASS_ALIVE_LEVEL5:
|
||||||
BotValue += kOnosCost;
|
BotValue += BALANCE_VAR(kOnosCost);
|
||||||
break;
|
break;
|
||||||
case PLAYERCLASS_ALIVE_GESTATING:
|
case PLAYERCLASS_ALIVE_GESTATING:
|
||||||
BotValue += 10.0f;
|
BotValue += 10.0f;
|
||||||
|
|
Loading…
Reference in a new issue