Insomniumm / bwsal

Automatically exported from code.google.com/p/bwsal
0 stars 0 forks source link

Construction orders given to wrong unit #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Sometimes an SCV is given a build order for a buildings addon and the scv 
just sits around because it cannot build it.

I had a look and I believe the problem is in the onOffer function, there is 
no check to see if the unit can build this when it's finding the closest 
unit.

Original issue reported on code.google.com by quaver.smith on 28 Nov 2009 at 4:36

GoogleCodeExporter commented 8 years ago

Original comment by lowerlo...@gmail.com on 30 Nov 2009 at 6:31

GoogleCodeExporter commented 8 years ago
Fixed in r150.

Original comment by lowerlo...@gmail.com on 13 Dec 2009 at 1:52