Carrier hiding in Warehouse/HQ is hardcoded

Bug #1502458 reported by Jens Beyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Wishlist
Unassigned

Bug Description

Carrier hiding in Warehouse/HQ is hardcoded (src/wui/warehousewindow.cc)

It would be nice if that could be configured somehow.

I don't know what the current correct way of configuring this would be... maybe the tribe's conf?

Tags: ui worker

Related branches

Revision history for this message
GunChleoc (gunchleoc) wrote :

This should be implemented into the carriers' conf. This will be easier to do once we have the one_tribe branch working, because then we won't be parsing with macros any more.

Revision history for this message
GunChleoc (gunchleoc) wrote :

I was just thinking, there is also a function tribe().worker_types_without_cost(), which is also checked when spawning carriers. Using this function might be better than changing the conf files.

GunChleoc (gunchleoc)
Changed in widelands:
status: New → Fix Committed
milestone: none → build19-rc1
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

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.