hotfix: sniper rifle zoom and guided redeemer should hide crosshair.
This commit is contained in:
parent
07915ea7c2
commit
c60336b950
2 changed files with 14 additions and 0 deletions
|
|
@ -59,6 +59,13 @@ Class SniperRifle : UTWeapon
|
|||
Screen.DrawTexture(reticle,false,320,240,DTA_VirtualWidth,640,DTA_VirtualHeight,480,DTA_RenderStyle,(1|2<<8|1<<16));
|
||||
Screen.DrawText(confont,Font.CR_DARKGREEN,192,160,String.Format("X%.1f",sniperzoom),DTA_Clean,true);
|
||||
}
|
||||
override void Tick()
|
||||
{
|
||||
Super.Tick();
|
||||
if ( !Owner ) return;
|
||||
if ( sniperzoom > 1.0 ) crosshair = 99;
|
||||
else crosshair = 0;
|
||||
}
|
||||
action void A_SniperFire( bool zoomed = false )
|
||||
{
|
||||
Weapon weap = Weapon(invoker);
|
||||
|
|
|
|||
|
|
@ -560,6 +560,13 @@ Class RedeemerHUDHandler : EventHandler
|
|||
Class WarheadLauncher : UTWeapon replaces BFG9000
|
||||
{
|
||||
Actor guided;
|
||||
override void Tick()
|
||||
{
|
||||
Super.Tick();
|
||||
if ( !Owner ) return;
|
||||
if ( guided ) crosshair = 99;
|
||||
else crosshair = 0;
|
||||
}
|
||||
action void A_WarheadFire()
|
||||
{
|
||||
Weapon weap = Weapon(invoker);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue