equal
deleted
inserted
replaced
2013 HHGear^.Message := HHGear^.Message and not gm_Attack; |
2013 HHGear^.Message := HHGear^.Message and not gm_Attack; |
2014 AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtAirBomb, 0, Gear^.dX * _0_5, Gear^.dY * _0_5, 0); |
2014 AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtAirBomb, 0, Gear^.dX * _0_5, Gear^.dY * _0_5, 0); |
2015 dec(Gear^.Health) |
2015 dec(Gear^.Health) |
2016 end; |
2016 end; |
2017 |
2017 |
2018 // Ride of the Valkyries |
|
2019 // This does actually work, interestingly, if music is turned off |
|
2020 // However, I'm not actually sure how this works with game state, and some |
|
2021 // sort of flag specific to the purpose of avoiding duplicate playSounds might be better. Can't use lastChan reasonably, unfortunately |
|
2022 if ((HHGear^.Message and gm_LJump) <> 0) |
2018 if ((HHGear^.Message and gm_LJump) <> 0) |
2023 and ((Gear^.State and gsttmpFlag) = 0) then |
2019 and ((Gear^.State and gsttmpFlag) = 0) then |
2024 begin |
2020 begin |
2025 Gear^.State:= Gear^.State or gsttmpFlag; |
2021 Gear^.State:= Gear^.State or gsttmpFlag; |
2026 PauseMusic; |
2022 PauseMusic; |