equal
deleted
inserted
replaced
517 TargetPoint.X:= CursorPoint.X - WorldDx; |
517 TargetPoint.X:= CursorPoint.X - WorldDx; |
518 TargetPoint.Y:= cScreenHeight - CursorPoint.Y - WorldDy; |
518 TargetPoint.Y:= cScreenHeight - CursorPoint.Y - WorldDy; |
519 end; |
519 end; |
520 SendIPCXY('p', TargetPoint.X, TargetPoint.Y); |
520 SendIPCXY('p', TargetPoint.X, TargetPoint.Y); |
521 end; |
521 end; |
|
522 {$IFDEF DEBUGFILE}AddFilelog('put: ' + inttostr(TargetPoint.X) + ', ' + inttostr(TargetPoint.Y));{$ENDIF} |
522 State:= State and not gstHHChooseTarget; |
523 State:= State and not gstHHChooseTarget; |
523 if (Ammo^[CurSlot, CurAmmo].Propz and ammoprop_AttackingPut) <> 0 then |
524 if (Ammo^[CurSlot, CurAmmo].Propz and ammoprop_AttackingPut) <> 0 then |
524 Message:= Message or gm_Attack; |
525 Message:= Message or gm_Attack; |
525 end |
526 end |
526 else |
527 else |