Coal can be replaced by other ressources in the editor

Bug #979937 reported by wl-zocker on 2012-04-12
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Low
Gabriel Margiani

Bug Description

When coal ressources are placed on a mountain and then the value of another ressource (e.g. gold) is changed (not set!), the coal will disappear. This happens to no other ressources.

I suggest:
- Changing the value does not replace any ressource.
- Setting the value replaces the current ressource.

Both ways will be possible, and the map-maker will not be confused when the coal disappears.

Patrick H. (daggeteo) wrote :

I agree with the above. It should be consistent across the resources.

Gabriel Margiani (gamag) wrote :

if coal has the resource-id (or how is the number identifying a resource called ? :)) 0, it will be handled as if
a certain amount of "no resource" is on the field, I don't know if that's the case.

Changed in widelands:
status: New → Confirmed
importance: Undecided → Low
Patrick H. (daggeteo) wrote :

The way I see it there shouldn't be a difference between mining resources. If you place coal over gold the gold should be replaced with coal, or vice versa. As it is now only coal is replaced by other resources and that doesn't make sense.

Gabriel Margiani (gamag) on 2012-04-30
Changed in widelands:
assignee: nobody → Gabriel Margiani (gamag)
Gabriel Margiani (gamag) wrote :

fixed in rev 6373.
Increase and decrease resource tool don't change resources other than the selected one. The set tool replaces every resource.

Changed in widelands:
status: Confirmed → Fix Committed
milestone: none → build18-rc1
SirVer (sirver) wrote :

Released in build-18 rc1.

Changed in widelands:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers