Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Darkhill on April 11, 2004, 11:05:14 pm

Title: Lock up on mission start
Post by: Darkhill on April 11, 2004, 11:05:14 pm
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.
Title: Lock up on mission start
Post by: Bobboau on April 11, 2004, 11:33:22 pm
we have more thruster glows now
Title: Lock up on mission start
Post by: Goober5000 on April 12, 2004, 05:23:53 am
Mantis.  Post a more detailed explanation there and I'm sure one of the coders will commit the fix.