hedgewars/uWorld.pas
changeset 15696 50dc9d0191d1
parent 15695 eeab5b90c082
child 15737 6832dab555ae
equal deleted inserted replaced
15695:eeab5b90c082 15696:50dc9d0191d1
  1595         // Invulnerable
  1595         // Invulnerable
  1596         inc(t, 8);
  1596         inc(t, 8);
  1597         DrawSprite(sprInvulnHud, cScreenWidth div 2 - t, i, 0);
  1597         DrawSprite(sprInvulnHud, cScreenWidth div 2 - t, i, 0);
  1598         if (CurrentHedgehog^.Effects[heResurrectable] <> 0) then
  1598         if (CurrentHedgehog^.Effects[heResurrectable] <> 0) then
  1599             // show halo for resurrectable hog
  1599             // show halo for resurrectable hog
  1600             DrawSprite(sprHaloHud, cScreenWidth div 2 - 30, i - SpritesData[sprHaloHud].Height + 1, 0);
  1600             DrawSprite(sprHaloHud, cScreenWidth div 2 - t - 2, i - SpritesData[sprHaloHud].Height + 1, 0);
  1601         // Vampirism
  1601         // Vampirism
  1602         if cVampiric then
  1602         if cVampiric then
  1603             begin
  1603             begin
  1604             inc(t, SpritesData[sprVampHud].Width + 2);
  1604             inc(t, SpritesData[sprVampHud].Width + 2);
  1605             DrawSprite(sprVampHud, (cScreenWidth div 2 - t), i, 0);
  1605             DrawSprite(sprVampHud, (cScreenWidth div 2 - t), i, 0);