Incorrect race shown in the editor

Bug #1330053 reported by Andre Novellino Gouvêa on 2014-06-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Undecided
cybermind

Bug Description

In the editor, the name of a player's race is always that of the first race. The result is that, for instance, is that the string will always show up as "Plyr X human Person/Computer/etc.", even if the player is an orc.

This bug happens in both Wargus and Wyrmsun.

Attached to this bug report is a patch that fixes this issue, whose root is that PlayerSide is never really defined for the players, unlike PlayerType. I'm not even sure whether there's much point in having the PlayerSide array for maps, since we can get the race information from the player itself, and PlayerSide isn't used for anything other than (incorrectly) displaying the player's race name in the editor in this instance.

As with my previous patch, my changes are tagged in this one with "Wyrmgus", and I suggest the removal of those tags if the changes are incorporated into the trunk.

Related branches

cybermind (iddqd-mail) wrote :

Fixed in rev.8928

Changed in stratagus:
status: New → Fix Committed
assignee: nobody → cybermind (iddqd-mail)
cybermind (iddqd-mail) on 2015-03-19
Changed in stratagus:
status: Fix Committed → Fix Released
milestone: none → 2.3
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers