1
0
Fork 0

Fix segfault on invalid command line arguments

If FlightGear terminated before the FDM was instantiated it crashed.
This commit is contained in:
Torsten Dreyer 2010-08-06 08:44:34 +02:00
parent 1d91468ddc
commit 1aa484aee5

View file

@ -98,7 +98,7 @@ void FDMShell::bind()
void FDMShell::unbind()
{
_impl->unbind();
if( _impl ) _impl->unbind();
}
void FDMShell::update(double dt)