tabs -> x4 spaces

This commit is contained in:
Shtoyan 2022-01-21 00:54:24 +04:00
commit 429a95b863
8 changed files with 141 additions and 141 deletions

View file

@ -1,11 +1,11 @@
class NiceDamTypePipeBomb extends NiceWeaponDamageType;
static function GetHitEffects(out class<xEmitter> HitEffects[4], int VictimHealth)
{
HitEffects[0] = class'HitSmoke';
if(VictimHealth <= 0)
HitEffects[1] = class'KFHitFlame';
else if (FRand() < 0.8)
HitEffects[1] = class'KFHitFlame';
HitEffects[0] = class'HitSmoke';
if(VictimHealth <= 0)
HitEffects[1] = class'KFHitFlame';
else if (FRand() < 0.8)
HitEffects[1] = class'KFHitFlame';
}
defaultproperties
{

View file

@ -2,22 +2,22 @@
class NiceCryoNadeCloud extends Emitter;
var bool bFlashed;
simulated function PostBeginPlay(){
super.PostBeginPlay();
NadeLight();
super.PostBeginPlay();
NadeLight();
}
simulated function NadeLight(){
if(instigator == none) return;
if(Level.bDropDetail) return;
if( (Level.TimeSeconds - LastRenderTime < 0.2)
if( (Level.TimeSeconds - LastRenderTime < 0.2)
|| (PlayerController(instigator.controller) != none)){
bDynamicLight = true;
SetTimer(0.25, false);
}
else
bDynamicLight = true;
SetTimer(0.25, false);
}
else
Timer();
}
simulated function Timer(){
bDynamicLight = false;
bDynamicLight = false;
}
defaultproperties
{