Reduced smoke on enforcer. Removed wipe bug workaround.

This commit is contained in:
Marisa the Magician 2018-07-21 16:53:59 +02:00
commit e77e0b59ff
2 changed files with 2 additions and 2 deletions

View file

@ -341,12 +341,13 @@ Class Enforcer : UTWeapon replaces Pistol
p.pitch = asin(-hitnormal.z);
if ( d.HitLine ) d.HitLine.RemoteActivate(self,d.LineSide,SPAC_Impact,d.HitLocation);
}
for ( int i=0; i<8; i++ )
for ( int i=0; i<3; i++ )
{
let s = Spawn("UTViewSmoke",origin);
if ( alt ) UTViewSmoke(s).ofs = (10,ydir,-3);
else UTViewSmoke(s).ofs = (10,4*ydir,-1);
s.target = self;
s.alpha *= 0.5;
}
origin += x*8.0+ydir*y*6.0-z*2.0;
let c = Spawn("UTCasing",origin);

View file

@ -147,7 +147,6 @@ Class UTHud : BaseStatusBar
override void Draw( int state, double TicFrac )
{
Super.Draw(state,TicFrac);
if ( level.time < 2 ) return; // workaround for glitched wipe (no idea what causes it)
if ( players[consoleplayer].camera is 'GuidedWarShell' ) return;
HScale = Screen.GetWidth()/1280.;
switch ( CVar.GetCVar('flak_colorprefs',CPlayer).GetInt() )