Closed GoogleCodeExporter closed 9 years ago
Check
"if(possibleEnemy != NULL && possibleEnemy->exists() ) {"
and use
"if(possibleEnemy->getPlayer() != Broodwar->self()) {"
since getID is not necessary
and you can also use "possibleEnemy->getDistance(unit)"
Original comment by AHeinerm
on 26 Feb 2013 at 7:47
Original comment by AHeinerm
on 1 Mar 2013 at 9:39
Original comment by AHeinerm
on 19 Mar 2013 at 7:27
Original issue reported on code.google.com by
regis.cl...@gmail.com
on 26 Feb 2013 at 2:05