equal
deleted
inserted
replaced
466 { |
466 { |
467 m_playerHash = playerHash; |
467 m_playerHash = playerHash; |
468 lazyLoad(); |
468 lazyLoad(); |
469 OldTeamName = name; |
469 OldTeamName = name; |
470 |
470 |
471 // Mostly create a default team, with 2 important exceptions: |
471 // Mostly create a default team, with some important exceptions: |
472 HWTeam newTeam(name); |
472 HWTeam newTeam(name); |
473 // Randomize grave to make it less likely that default teams have equal graves (important for resurrector) |
473 // Randomize grave to make it less likely that default teams have equal graves (important for resurrector) |
474 HWNamegen::teamRandomGrave(newTeam, false); |
474 HWNamegen::teamRandomGrave(newTeam, false); |
475 // Randomize fort for greater variety in fort mode with default teams |
475 // Randomize fort for greater variety in fort mode with default teams |
476 HWNamegen::teamRandomFort(newTeam, false); |
476 HWNamegen::teamRandomFort(newTeam, false); |
|
477 HWNamegen::teamLocalizedDefaultVoice(newTeam); |
477 // DLC forts and graves intentionally filtered out to prevent desyncs and missing grave error |
478 // DLC forts and graves intentionally filtered out to prevent desyncs and missing grave error |
478 // TODO: Remove DLC filter as soon it is not needed anymore |
479 // TODO: Remove DLC filter as soon it is not needed anymore |
479 loadTeam(newTeam); |
480 loadTeam(newTeam); |
480 } |
481 } |
481 |
482 |