diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index fb7be22b24..181ebd822f 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -226,6 +226,7 @@ OMW::Engine::Engine(Files::ConfigurationManager& configurationManager) , mActivationDistanceOverride(-1) , mGrab(true) , mExportFonts(false) + , mRandomSeed(0) , mScriptContext (0) , mFSStrict (false) , mScriptBlacklistUse (true) diff --git a/components/nifosg/controller.cpp b/components/nifosg/controller.cpp index 934b3b914e..4029e9b158 100644 --- a/components/nifosg/controller.cpp +++ b/components/nifosg/controller.cpp @@ -311,10 +311,11 @@ void VisController::operator() (osg::Node* node, osg::NodeVisitor* nv) RollController::RollController(const Nif::NiFloatData *data) : mData(data->mKeyList, 1.f) + , mStartingTime(0) { } -RollController::RollController() +RollController::RollController() : mStartingTime(0) { }