equal
deleted
inserted
replaced
2592 AllInactive := false; |
2592 AllInactive := false; |
2593 |
2593 |
2594 HHGear := Gear^.Hedgehog^.Gear; |
2594 HHGear := Gear^.Hedgehog^.Gear; |
2595 if not TryPlaceOnLand(Gear^.Target.X - SpritesData[sprHHTelepMask].Width div 2, |
2595 if not TryPlaceOnLand(Gear^.Target.X - SpritesData[sprHHTelepMask].Width div 2, |
2596 Gear^.Target.Y - SpritesData[sprHHTelepMask].Height div 2, |
2596 Gear^.Target.Y - SpritesData[sprHHTelepMask].Height div 2, |
2597 sprHHTelepMask, 0, false, false) then |
2597 sprHHTelepMask, 0, false, false, not hasBorder, 0) then |
2598 begin |
2598 begin |
2599 HHGear^.Message := HHGear^.Message and (not gmAttack); |
2599 HHGear^.Message := HHGear^.Message and (not gmAttack); |
2600 HHGear^.State := HHGear^.State and (not gstAttacking); |
2600 HHGear^.State := HHGear^.State and (not gstAttacking); |
2601 HHGear^.State := HHGear^.State or gstHHChooseTarget; |
2601 HHGear^.State := HHGear^.State or gstHHChooseTarget; |
2602 DeleteGear(Gear); |
2602 DeleteGear(Gear); |