test fix for bloat BileExplosionLoc accessed none
This commit is contained in:
parent
3120047995
commit
b9fc5b8573
@ -200,7 +200,10 @@ simulated function Tick(float deltatime)
|
|||||||
{
|
{
|
||||||
local vector BileExplosionLoc;
|
local vector BileExplosionLoc;
|
||||||
local FleshHitEmitter GibBileExplosion;
|
local FleshHitEmitter GibBileExplosion;
|
||||||
|
|
||||||
Super.tick(deltatime);
|
Super.tick(deltatime);
|
||||||
|
|
||||||
|
|
||||||
if( Role == ROLE_Authority && bMovingPukeAttack )
|
if( Role == ROLE_Authority && bMovingPukeAttack )
|
||||||
{
|
{
|
||||||
// Keep moving toward the target until the timer runs out (anim finishes)
|
// Keep moving toward the target until the timer runs out (anim finishes)
|
||||||
@ -243,7 +246,8 @@ simulated function Tick(float deltatime)
|
|||||||
{
|
{
|
||||||
if ( !class'GameInfo'.static.UseLowGore() )
|
if ( !class'GameInfo'.static.UseLowGore() )
|
||||||
{
|
{
|
||||||
BileExplosionLoc = self.Location;
|
// remove self.
|
||||||
|
BileExplosionLoc = Location;
|
||||||
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
|
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
|
||||||
|
|
||||||
if (bDecapitated)
|
if (bDecapitated)
|
||||||
@ -258,7 +262,7 @@ simulated function Tick(float deltatime)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BileExplosionLoc = self.Location;
|
BileExplosionLoc = Location;
|
||||||
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
|
BileExplosionLoc.z += (CollisionHeight - (CollisionHeight * 0.5));
|
||||||
|
|
||||||
GibBileExplosion = Spawn(class 'LowGoreBileExplosion',self,, BileExplosionLoc );
|
GibBileExplosion = Spawn(class 'LowGoreBileExplosion',self,, BileExplosionLoc );
|
||||||
|
Loading…
Reference in New Issue
Block a user