hedgewars/uWorld.pas
changeset 14971 5a9d203f7c82
parent 14970 cf21a45a62bd
child 14972 9939134b566d
equal deleted inserted replaced
14970:cf21a45a62bd 14971:5a9d203f7c82
  1599     DrawTexture(cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 16, i, CurrentHedgehog^.HealthTagTex);
  1599     DrawTexture(cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 16, i, CurrentHedgehog^.HealthTagTex);
  1600     if (CurrentHedgehog^.Effects[hePoisoned] > 0) then
  1600     if (CurrentHedgehog^.Effects[hePoisoned] > 0) then
  1601         DrawSprite(sprHealthPoisonHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 36), i, 0)
  1601         DrawSprite(sprHealthPoisonHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 36), i, 0)
  1602     else
  1602     else
  1603         DrawSprite(sprHealthHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 36), i, 0);
  1603         DrawSprite(sprHealthHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 36), i, 0);
       
  1604     if cVampiric then
       
  1605         DrawSprite(sprVampHud, (cScreenWidth div 2 - CurrentHedgehog^.HealthTagTex^.w - 62), i, 0);
  1604     inc(t, CurrentHedgehog^.HealthTagTex^.h);
  1606     inc(t, CurrentHedgehog^.HealthTagTex^.h);
  1605     cDemoClockFPSOffsetY:= t;
  1607     cDemoClockFPSOffsetY:= t;
  1606     end
  1608     end
  1607 else
  1609 else
  1608     cDemoClockFPSOffsetY:= 0;
  1610     cDemoClockFPSOffsetY:= 0;