equal
deleted
inserted
replaced
1364 State := (State or gstMoving) and not gstWinner; |
1364 State := (State or gstMoving) and not gstWinner; |
1365 end; |
1365 end; |
1366 DeleteGear(Gear) |
1366 DeleteGear(Gear) |
1367 end; |
1367 end; |
1368 |
1368 |
1369 (*procedure WaitCollision; |
1369 procedure WaitCollision; |
1370 begin |
1370 begin |
1371 with HHGear^ do |
1371 with HHGear^ do |
1372 begin |
1372 begin |
1373 Message := Message and not gmAttack; |
1373 Message := Message and not gmAttack; |
1374 State := State or gstMoving; |
1374 State := State or gstMoving; |
1375 end; |
1375 end; |
1376 RopePoints.Count := 0; |
1376 RopePoints.Count := 0; |
1377 Gear^.Elasticity := _0; |
1377 Gear^.Elasticity := _0; |
1378 Gear^.doStep := @doStepRopeAfterAttack |
1378 Gear^.doStep := @doStepRopeAfterAttack |
1379 end;*) |
1379 end; |
1380 |
1380 |
1381 begin |
1381 begin |
1382 HHGear := Gear^.Hedgehog^.Gear; |
1382 HHGear := Gear^.Hedgehog^.Gear; |
1383 |
1383 |
1384 if ((HHGear^.State and gstHHDriven) = 0) |
1384 if ((HHGear^.State and gstHHDriven) = 0) |
1580 begin |
1580 begin |
1581 if (Gear^.State and gsttmpFlag) <> 0 then |
1581 if (Gear^.State and gsttmpFlag) <> 0 then |
1582 with Gear^.Hedgehog^ do |
1582 with Gear^.Hedgehog^ do |
1583 begin |
1583 begin |
1584 PlaySound(sndRopeRelease); |
1584 PlaySound(sndRopeRelease); |
1585 //if CurAmmoType <> amParachute then |
1585 if CurAmmoType <> amParachute then |
1586 // WaitCollision |
1586 WaitCollision |
1587 //else |
1587 else |
1588 DeleteMe |
1588 DeleteMe |
1589 end |
1589 end |
1590 end |
1590 end |
1591 else |
1591 else |
1592 if (Gear^.State and gsttmpFlag) = 0 then |
1592 if (Gear^.State and gsttmpFlag) = 0 then |