hedgewars/uWorld.pas
changeset 5862 b4229b0abc70
parent 5856 ed97138dc414
child 5932 5164d17b6374
child 5995 647d52370ce9
child 6011 519f8a58c021
equal deleted inserted replaced
5861:b102aa6a853e 5862:b4229b0abc70
   800     DrawLand(WorldDx, WorldDy);
   800     DrawLand(WorldDx, WorldDy);
   801 
   801 
   802     DrawWater(255, 0);
   802     DrawWater(255, 0);
   803 
   803 
   804 // Attack bar
   804 // Attack bar
   805     if (CurrentTeam <> nil) and (CurrentHedgehog^.Gear <> nil) then
   805     if CurrentTeam <> nil then
   806         case AttackBar of
   806         case AttackBar of
   807 (*        1: begin
   807 (*        1: begin
   808         r:= StuffPoz[sPowerBar];
   808         r:= StuffPoz[sPowerBar];
   809         {$WARNINGS OFF}
   809         {$WARNINGS OFF}
   810         r.w:= (CurrentHedgehog^.Gear^.Power * 256) div cPowerDivisor;
   810         r.w:= (CurrentHedgehog^.Gear^.Power * 256) div cPowerDivisor;