1
0
Fork 0

Allow particles to be frozen on pause.

This commit is contained in:
ehofman 2010-03-27 10:59:04 +00:00 committed by Tim Moore
parent 89023eda69
commit e78c56af7d

View file

@ -31,6 +31,7 @@
#include <simgear/magvar/magvar.hxx>
#include <simgear/timing/sg_time.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/scene/model/particles.hxx>
#include <simgear/sound/soundmgr_openal.hxx>
#include <Aircraft/aircraft.hxx>
@ -236,6 +237,9 @@ setFreeze (bool f)
smgr->resume();
}
}
// Pause the particle system
simgear::Particles::setFrozen(f);
}