hedgewars/uTeams.pas
changeset 7180 53ffc8853008
parent 7151 ec15d9e1a7e3
child 7194 d8e68cbca7ee
equal deleted inserted replaced
7176:fb4b0c6dfdbd 7180:53ffc8853008
   530     // color is always little endian so the mask must be constant also in big endian archs
   530     // color is always little endian so the mask must be constant also in big endian archs
   531     Color:= Color or $FF000000;
   531     Color:= Color or $FF000000;
   532     AddTeam(Color);
   532     AddTeam(Color);
   533     CurrentTeam^.TeamName:= ts;
   533     CurrentTeam^.TeamName:= ts;
   534     CurrentTeam^.PlayerHash:= s;
   534     CurrentTeam^.PlayerHash:= s;
   535     if GameType in [gmtDemo, gmtSave] then
   535     if GameType in [gmtDemo, gmtSave, gmtRecord] then
   536         CurrentTeam^.ExtDriven:= true;
   536         CurrentTeam^.ExtDriven:= true;
   537 
   537 
   538     CurrentTeam^.voicepack:= AskForVoicepack('Default')
   538     CurrentTeam^.voicepack:= AskForVoicepack('Default')
   539     end
   539     end
   540 end;
   540 end;