But for performance purposes it cannot stay this way, would you agree with creating two similar functions:
get_stocklevel_lowest(BuildingObserver& bo, const uint32_t gametime, const WareWorker what) get_stocklevel_highest(BuildingObserver& bo, const uint32_t gametime, const WareWorker what) ? -- https://code.launchpad.net/~widelands-dev/widelands/frisian_balancing_with_ai_hints/+merge/347166 Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/frisian_balancing_with_ai_hints into lp:widelands. _______________________________________________ Mailing list: https://launchpad.net/~widelands-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~widelands-dev More help : https://help.launchpad.net/ListHelp

