equal
deleted
inserted
replaced
1935 DeleteGear(Gear) |
1935 DeleteGear(Gear) |
1936 end |
1936 end |
1937 else begin |
1937 else begin |
1938 PlaySound(sndPlaced); |
1938 PlaySound(sndPlaced); |
1939 DeleteGear(Gear); |
1939 DeleteGear(Gear); |
|
1940 //Using these two instead means girder stays active without needing to reselect it |
|
1941 //OnUsedAmmo(PHedgehog(HHGear^.Hedgehog)^); |
|
1942 //ApplyAmmoChanges(PHedgehog(HHGear^.Hedgehog)^) |
1940 AfterAttack; |
1943 AfterAttack; |
1941 end; |
1944 end; |
1942 |
1945 |
1943 HHGear^.State:= HHGear^.State and not (gstAttacking or gstAttacked); |
1946 HHGear^.State:= HHGear^.State and not (gstAttacking or gstAttacked); |
1944 HHGear^.Message:= HHGear^.Message and not gm_Attack; |
1947 HHGear^.Message:= HHGear^.Message and not gm_Attack; |