MNoya / BuildingHelper

Library for RTS & TD Dota Custom Games
GNU General Public License v3.0
37 stars 14 forks source link

Enemy Unit detection on is inaccurate #3

Closed MNoya closed 8 years ago

MNoya commented 8 years ago

Function IsValidPosition is checking units in construction_radius = size * 64 - 32 but this is not accurate when trying to place near enemy buildings. The blockage should be consistent with the clientside grid.

See https://github.com/cowsforyou/barracks_master_2/issues/36