multitasker fix part 1
This commit is contained in:
parent
b8045655f1
commit
f7017fa7c1
@ -170,17 +170,22 @@ function PostRender(Canvas C)
|
||||
x += 128 + 4;
|
||||
}
|
||||
}
|
||||
|
||||
//// Draw weapons progress bars
|
||||
if(nicePlayer != none && nicePlayer.bFlagDisplayWeaponProgress)
|
||||
if (class'NiceVeterancyTypes'.static.hasSkill(nicePlayer, class'NiceSkillEnforcerMultitasker')
|
||||
&& nicePlayer.bFlagDisplayWeaponProgress)
|
||||
{
|
||||
x = C.ClipX - InventoryBoxWidth * C.ClipX - 5;
|
||||
y = C.ClipY * 0.5 - 0.5 * (InventoryBoxHeight * C.ClipX + 4) * niceMutator.niceWeapProgressSet.Length;
|
||||
for(i = 0;i < niceMutator.niceWeapProgressSet.Length;i ++){
|
||||
for (i = 0;i < niceMutator.niceWeapProgressSet.Length;i ++)
|
||||
{
|
||||
DrawWeaponProgress(C, niceMutator.niceWeapProgressSet[i], x, y,
|
||||
C.ViewPort.Actor.Pawn.PlayerReplicationInfo.Team);
|
||||
y += (InventoryBoxHeight * C.ClipX + 4);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//// Draw invincibility bar
|
||||
nicePawn = NiceHumanPawn(nicePlayer.pawn);
|
||||
if(nicePawn != none && nicePawn.invincibilityTimer != 0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user