Author Topic: Lock up on mission start  (Read 1426 times)

0 Members and 1 Guest are viewing this topic.

Lock up on mission start
Seems as if a model has missing or maybe even faulty thruster glows the game will lock up when you press the launch button.  I traced it back to ship_do_thruster_frame() in ship/ship.cpp being the problem.  It seems that if the game is not supposed to display a thruster glow for a ship it will lock up the game.  I fixed it by checking to see if anim_index <= 1 and if so exit the function instead of continuing.  The thing is that craft that crash FS2 Open like this work fine with the original code.

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Lock up on mission start
we have more thruster glows now
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Lock up on mission start
Mantis.  Post a more detailed explanation there and I'm sure one of the coders will commit the fix.