lua func "place_building_in_region" not work for mines

Bug #1688655 reported by hessenfarmer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Undecided
Unassigned

Bug Description

while creating a new scenario I found out that the lua function "place_building_in_region" does not work for mines.
This is from my perspective due to the function does not take into account "mine" construction lots when evaluating the sutability of a lot for the building.
Effect was:
while trying to place a mine to a specific field it failed with a "no space" message in messages window.
while trying to place it to a region it choose a normal building lot instead of a mine building lot (which isn't possible in normal building mode)

Tags: maps tribes

Related branches

GunChleoc (gunchleoc)
Changed in widelands:
status: New → Confirmed
assignee: nobody → GunChleoc (gunchleoc)
milestone: none → build20-rc1
tags: added: maps tribes
GunChleoc (gunchleoc)
Changed in widelands:
status: Confirmed → In Progress
GunChleoc (gunchleoc)
Changed in widelands:
status: In Progress → Fix Committed
assignee: GunChleoc (gunchleoc) → nobody
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build20-rc1

Changed in widelands:
status: Fix Committed → Fix Released
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.