small error
This commit is contained in:
parent
1611108910
commit
baf2f1988c
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ global void CommandPatrolUnit(Unit* unit, int x, int y, int flush)
|
|||
order->Y = y;
|
||||
order->Range = 0;
|
||||
order->Type = NULL;
|
||||
Assert(!(unit->X & ~0xFFFF) || !(unit->Y & ~0xFFFF));
|
||||
Assert(!(unit->X & ~0xFFFF) && !(unit->Y & ~0xFFFF));
|
||||
// FIXME: BUG-ALERT: encode source into arg1 as two 16 bit values!
|
||||
order->Arg1 = (void*)((unit->X << 16) | unit->Y);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue