[freeciv-dev] [freeciv/freeciv] 6a9a0e: Do not regenerate team name in team_pretty_name()

  • From: freeciv-commits@xxxxxxxxxxx
  • To: freeciv-dev@xxxxxxxxxxxxx
  • Date: Thu, 19 May 2022 08:26:39 -0700

  Branch: refs/heads/S3_0
  Home:   https://github.com/freeciv/freeciv
  Commit: 6a9a0e3aa186e6a284140e98f133374166bc7b53
      
https://github.com/freeciv/freeciv/commit/6a9a0e3aa186e6a284140e98f133374166bc7b53
  Author: Marko Lindqvist <cazfi74@xxxxxxxxx>
  Date:   2022-05-19 (Thu, 19 May 2022)

  Changed paths:
    M common/team.c

  Log Message:
  -----------
  Do not regenerate team name in team_pretty_name()

When using generated team names, and one has been generated
already, use that existing name. Regenerating it resulted
in a different name being returned from team_pretty_name()
than what was otherwise been used, when team numbers had
changed before the team_pretty_name() call.

Reported by ddeanbrown

See osdn #44382

Signed-off-by: Marko Lindqvist <cazfi74@xxxxxxxxx>



Other related posts:

  • » [freeciv-dev] [freeciv/freeciv] 6a9a0e: Do not regenerate team name in team_pretty_name() - freeciv-commits