Draw explosion on kamikaze
authorunc0rr
Wed, 18 Jun 2008 18:12:45 +0000
changeset 1008 38bb05efd774
parent 1007 b19e22c6ab83
child 1009 b1f335aed35a
Draw explosion on kamikaze
hedgewars/uGears.pas
--- a/hedgewars/uGears.pas	Wed Jun 18 18:05:15 2008 +0000
+++ b/hedgewars/uGears.pas	Wed Jun 18 18:12:45 2008 +0000
@@ -923,7 +923,7 @@
 begin
 TargetPoint.X:= NoPointX;
 {$IFDEF DEBUGFILE}if Radius > 3 then AddFileLog('Explosion: at (' + inttostr(x) + ',' + inttostr(y) + ')');{$ENDIF}
-if Radius = 50 then AddGear(X, Y, gtExplosion, 0, _0, _0, 0);
+if (Radius = 50) or (Radius = 30) then AddGear(X, Y, gtExplosion, 0, _0, _0, 0);
 if (Mask and EXPLAutoSound) <> 0 then PlaySound(sndExplosion, false);
 if (Mask and EXPLAllDamageInRadius)=0 then dmgRadius:= Radius shl 1
                                       else dmgRadius:= Radius;