Golden Thunder crashes the game

Fixed in r2395 (part of Beta 10).


When using “impulse 151” to spawn Golden Thunder above the player’s head and the player moves around a bit in an area with monsters, the game crashes with following output.

Log: - VEntity::CheckRelPosition
Log: - VEntity::TryMove
Log: - RunFunction
Log: - (engine.Entity.TryMoveEx 0)
Log: - RunFunction
Log: - (game.IntelligentActor.StepMoveEx 554)
Log: - RunFunction
Log: - (game.IntelligentActor.TryWalkEx 1)
Log: - RunFunction
Log: - (game.IntelligentActor.DO_NewChaseDirEx 49)
Log: - RunFunction
Log: - (game.IntelligentActor.NewChaseDirEx 159)
Log: - RunFunction
Log: - (game.IntelligentActor.DoMove 554)
Log: - RunFunction
Log: - (game.IntelligentActor.A_NormalDoMove 18)
Log: - RunFunction
Log: - (game.IntelligentActor.A_ChaseAI 150)
Log: - VObject::ExecuteFunction
Log: - (game.IntelligentActor.A_ChaseAI)
Log: - VEntity::SetState
Log: - VEntity::AdvanceState
Log: - RunFunction
Log: - (engine.Entity.AdvanceState 0)
Log: - RunFunction
Log: - (linespec.EntityEx.Tick 285)
Log: - RunFunction
Log: - (linespec.Actor.Tick 82)
Log: - RunFunction
Log: - (linespec.KRPGPawn.Tick 58)
Log: - RunFunction
Log: - (game.IntelligentActor.Tick 2)
Log: - VObject::ExecuteFunction
Log: - (game.IntelligentActor.Tick)
Log: - VThinker::Tick
Log: - VLevel::TickWorld
Log: - SV_Ticker
Log: - ServerFrame
Log: - Host_Frame
Log: Doing C_Shutdown
Log: Doing CL_Shutdown
Log: tanthalos left the game

Log: Doing SV_Shutdown
Log: Doing delete GNet
Log: Doing delete GInput
Log: Doing V_Shutdown
Log: Doing delete GAudio
Log: Doing T_Shutdown
Log: Doing Sys_Shutdown
Log: Doing delete GSoundManager
Log: Doing R_ShutdownTexture
Log: Doing R_ShutdownData
Log: Doing VCommand::Shutdown
Log: Doing VCvar::Shutdown
Log: Doing ShutdownMapInfo
Log: Doing FL_Shutdown
Log: Doing W_Shutdown
Log: Doing GLanguage.FreeData
Log: Doing ShutdownDecorate
Log: Doing VObject::StaticExit
Log: Doing VName::StaticExit
Uninitialised: Doing Z_Shutdown


ERROR: Segmentation Violation