# HG changeset patch # User unc0rr # Date 1232290914 0 # Node ID 62e1d9af1dd9d574d717c0b38e26fd4199e758b0 # Parent 43a571a99f8e602e94b8f5edc4f5548d813b91a3 More predictable bombs trajectory with rc plane diff -r 43a571a99f8e -r 62e1d9af1dd9 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Sun Jan 18 14:49:21 2009 +0000 +++ b/hedgewars/GSHandlers.inc Sun Jan 18 15:01:54 2009 +0000 @@ -2011,7 +2011,7 @@ if ((HHGear^.Message and gm_Attack) <> 0) and (Gear^.Health <> 0) then begin HHGear^.Message := HHGear^.Message and not gm_Attack; - AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtAirBomb, 0, cBombsSpeed * Gear^.Tag, _0, 0); + AddGear(hwRound(Gear^.X), hwRound(Gear^.Y), gtAirBomb, 0, Gear^.dX * _0_5, Gear^.dY * _0_5, 0); dec(Gear^.Health) end; diff -r 43a571a99f8e -r 62e1d9af1dd9 hedgewars/uConsts.pas --- a/hedgewars/uConsts.pas Sun Jan 18 14:49:21 2009 +0000 +++ b/hedgewars/uConsts.pas Sun Jan 18 15:01:54 2009 +0000 @@ -513,12 +513,12 @@ (FileName: 'cake2.ogg'; Path: ptSounds),// sndCake (FileName: 'Ow1.ogg'; Path: ptVoices),// sndOw1 (FileName: 'Ow4.ogg'; Path: ptVoices),// sndOw4 - (FileName: 'Firepunch1.ogg'; Path: ptSounds),// sndFirepunch1 - (FileName: 'Firepunch2.ogg'; Path: ptSounds),// sndFirepunch2 - (FileName: 'Firepunch3.ogg'; Path: ptSounds),// sndFirepunch3 - (FileName: 'Firepunch4.ogg'; Path: ptSounds),// sndFirepunch4 - (FileName: 'Firepunch5.ogg'; Path: ptSounds),// sndFirepunch5 - (FileName: 'Firepunch6.ogg'; Path: ptSounds),// sndFirepunch6 + (FileName: 'Firepunch1.ogg'; Path: ptVoices),// sndFirepunch1 + (FileName: 'Firepunch2.ogg'; Path: ptVoices),// sndFirepunch2 + (FileName: 'Firepunch3.ogg'; Path: ptVoices),// sndFirepunch3 + (FileName: 'Firepunch4.ogg'; Path: ptVoices),// sndFirepunch4 + (FileName: 'Firepunch5.ogg'; Path: ptVoices),// sndFirepunch5 + (FileName: 'Firepunch6.ogg'; Path: ptVoices),// sndFirepunch6 (FileName: 'Melon.ogg'; Path: ptSounds),// sndMelon (FileName: 'Hellish.ogg'; Path: ptSounds),// sndHellish (FileName: 'Yoohoo.ogg'; Path: ptSounds) // sndYoohoo