Fix incomplete revertion of weapon changes

This commit is contained in:
Anton Tarasenko 2020-04-19 01:19:30 +07:00
commit f4367ccd17
14 changed files with 32 additions and 33 deletions

View file

@ -1,7 +1,7 @@
class NiceBallisticHarpoon extends NiceBullet;
// Have we added this harpoon to a stuck projectiles list?
var bool bAddedMyself;
/*simulated function Tick(float delta){
simulated function Tick(float delta){
local NiceSealSquealHarpoonBomber harpoonWeap;
if(bInitFinished && !bAddedMyself && bStuck && nicePlayer == localPlayer){
bAddedMyself = true;
@ -22,7 +22,7 @@ function KillBullet(){
}
}
super.KillBullet();
}*/
}
defaultproperties
{
charMinExplosionDist=300.000000

View file

@ -1,7 +1,7 @@
class NiceSealSquealHarpoonBomber extends NiceWeapon;
// Stuck projectiles, fired from this weapon
var array<int> stuckProjectiles;
/*simulated function ExplodeAllHarpoons(){
simulated function ExplodeAllHarpoons(){
local int i;
for(i = 0;i < stuckProjectiles.Length;i ++){
if(stuckProjectiles[i] < 0)
@ -22,7 +22,7 @@ simulated function Destroyed(){
if(Role < ROLE_Authority)
ExplodeAllHarpoons();
super.Destroyed();
}*/
}
defaultproperties
{
reloadPreEndFrame=0.195000