diff -r 4cb727e029fa -r bf9e30b4ef9b hedgewars/uFLTeams.pas --- a/hedgewars/uFLTeams.pas Sat Nov 01 00:23:22 2014 +0300 +++ b/hedgewars/uFLTeams.pas Sat Nov 01 22:51:07 2014 +0300 @@ -11,7 +11,7 @@ function teamByName(s: shortstring): PTeam; implementation -uses uFLUtils, uFLIPC, uPhysFSLayer; +uses uFLUtils, uFLIPC, uPhysFSLayer, uFLData; const MAX_TEAM_NAMES = 128; var @@ -47,7 +47,7 @@ begin with team do begin - ipcToEngine('eaddteam ' + color + ' ' + teamName); + ipcToEngine('eaddteam ' + colorsSet[color] + ' ' + teamName); for i:= 0 to Pred(hogsNumber) do begin ipcToEngine('eaddhh ' + inttostr(botLevel) + ' 100 ' + hedgehogs[i].name);