Announcement

Collapse
No announcement yet.

Bug in UTStealthVehicle.uc

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bug in UTStealthVehicle.uc

    From UTStealthVehicle.uc, line 1041

    Code:
    simulated function SetBeamEmitterHidden(bool bHide)
    {
    	if ( WorldInfo.NetMode != NM_DedicatedServer )
    	{
    		if ( BeamEmitter.HiddenGame != bHide )
    		{
    			if (BeamEmitter != none)
    			{
                              ...
    The code needs to check if BeamEmitter != None before accessing BeamEmitter.HiddenGame, not after. I had a weird 'none' access in my new vehicle because of this. It's easy enough to work around but thought I'd point it out.
Working...
X