Incorrect race shown in the editor
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/
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
Changed in stratagus: | |
status: | Fix Committed → Fix Released |
milestone: | none → 2.3 |
Fixed in rev.8928