Allowing for a player's "allow" to be checked using GetPlayerData

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

Bug Description

Attached to this bug report is a patch that includes a new field for the GetPlayerData() function, "Allow", which returns the player's allow for a particular unit or upgrade. Here is an example how it works:

GetPlayerData(0, "Allow", "upgrade-dwarven-broad-axe")

This would return the allow for the "upgrade-dwarven-broad-axe" for player 0 (i.e. "A" or "F").

Related branches

cybermind (iddqd-mail) wrote :

Fixed in rev.8929

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