488 with HH^ do |
488 with HH^ do |
489 if (curhat <> nil) then |
489 if (curhat <> nil) then |
490 begin |
490 begin |
491 DrawTextureRotatedF(curhat, 1.0, -1.0, -6.0, ox, oy, 0, i, 32, 32, |
491 DrawTextureRotatedF(curhat, 1.0, -1.0, -6.0, ox, oy, 0, i, 32, 32, |
492 i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle); |
492 i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle); |
493 if curhat^.w > 64 then |
493 if (curhat^.w > 64) or ((curhat^.w = 64) and (curhat^.h = 32)) then |
494 begin |
494 begin |
|
495 if ((curhat^.w = 64) and (curhat^.h = 32)) then |
|
496 tx := 1 |
|
497 else |
|
498 tx := 32; |
495 Tint(HH^.Team^.Clan^.Color shl 8 or $FF); |
499 Tint(HH^.Team^.Clan^.Color shl 8 or $FF); |
496 DrawTextureRotatedF(curhat, 1.0, -1.0, -6.0, ox, oy, 32, i, 32, 32, |
500 DrawTextureRotatedF(curhat, 1.0, -1.0, -6.0, ox, oy, tx, i, 32, 32, |
497 i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle); |
501 i*DxDy2Angle(CurAmmoGear^.dY, CurAmmoGear^.dX) + hAngle); |
498 untint |
502 untint |
499 end |
503 end |
500 end |
504 end |
501 end; |
505 end; |