Incorrect race shown in the editor

Bug #1330053 reported by Andre Novellino Gouvêa
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

Revision history for this message
Andre Novellino Gouvêa (andre-ng) wrote :
Revision history for this message
cybermind (iddqd-mail) wrote :

Fixed in rev.8928

Changed in stratagus:
status: New → Fix Committed
assignee: nobody → cybermind (iddqd-mail)
cybermind (iddqd-mail)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.