hedgewars/uWorld.pas
changeset 9791 446e4919b738
parent 9755 6306b54dd8fc
child 9798 f2b18754742f
child 9812 a293a9ecdc82
equal deleted inserted replaced
9790:0b4b9fda5bd4 9791:446e4919b738
  1257             htex:= GenericHealthTexture
  1257             htex:= GenericHealthTexture
  1258             end
  1258             end
  1259         else
  1259         else
  1260             htex:= Clan^.HealthTex;
  1260             htex:= Clan^.HealthTex;
  1261 
  1261 
  1262          // draw name
  1262         // draw owner
       
  1263         if OwnerTex <> nil then
       
  1264             DrawTexture(-OwnerTex^.w - NameTagTex^.w - 18, cScreenHeight + DrawHealthY + smallScreenOffset, OwnerTex);
       
  1265 
       
  1266         // draw name
  1263         DrawTexture(-NameTagTex^.w - 16, cScreenHeight + DrawHealthY + smallScreenOffset, NameTagTex);
  1267         DrawTexture(-NameTagTex^.w - 16, cScreenHeight + DrawHealthY + smallScreenOffset, NameTagTex);
  1264 
  1268 
  1265         // draw flag
  1269         // draw flag
  1266         DrawTexture(-14, cScreenHeight + DrawHealthY + smallScreenOffset, FlagTex);
  1270         DrawTexture(-14, cScreenHeight + DrawHealthY + smallScreenOffset, FlagTex);
  1267 
  1271