OpenDUNE/OpenDUNE — pull request #178 by wangds (2013-01-20 03:42:38+00:00)
Title: -Fix (#178): radar scan double-counted some units and missed others

The radar scan unit count is often wrong in the heat of a battle. A recount is performed in the Unit_Sort function. A unit may be counted a second time at the expense of another if a swap occurred (e.g. unit swapped with a bullet). In addition, the final unit in the find array is not counted.