Comment added.
This commit is contained in:
parent
11efd24db7
commit
581d927c08
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ local void MoveToTarget(Unit* unit)
|
|||
int wall;
|
||||
int err;
|
||||
|
||||
// FIXME: is this a a-star problem ?
|
||||
if( unit->Command.Action==UnitActionAttackGround
|
||||
|| WallOnMap(unit->Command.Data.Move.DX,unit->Command.Data.Move.DY) ) {
|
||||
// FIXME: workaround for pathfinder problem
|
||||
|
|
Loading…
Add table
Reference in a new issue