I think I found it. request_->get_num_transfers() is actually the right 
function here, but merely passing through it´s return value isn´t enough. I 
made InputQueue::get_missing() more intelligent to account for capacity and 
existing inputs itself. I can´t reproduce the bug anymore now.
I also added an assert to check that the calculations at least make sense.
-- 
https://code.launchpad.net/~widelands-dev/widelands/inputwarequeue_display/+merge/350385
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/inputwarequeue_display into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : widelands-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to