diff --git a/apps/openmw/mwmechanics/aicombat.cpp b/apps/openmw/mwmechanics/aicombat.cpp index 3aeeedad1..b1821d64a 100644 --- a/apps/openmw/mwmechanics/aicombat.cpp +++ b/apps/openmw/mwmechanics/aicombat.cpp @@ -107,6 +107,7 @@ namespace MWMechanics mActionCooldown(0), mStrength(), mForceNoShortcut(false), + mShortcutFailPos(), mLastActorPos(0,0,0), mMovement(){} diff --git a/components/esm/esmwriter.cpp b/components/esm/esmwriter.cpp index 4d9999143..b8c78a2b9 100644 --- a/components/esm/esmwriter.cpp +++ b/components/esm/esmwriter.cpp @@ -9,10 +9,13 @@ namespace ESM { ESMWriter::ESMWriter() - : mStream(NULL) - , mEncoder (0) - , mRecordCount (0) - , mCounting (true) + : mRecords() + , mStream(NULL) + , mHeaderPos() + , mEncoder(NULL) + , mRecordCount(0) + , mCounting(true) + , mHeader() {} unsigned int ESMWriter::getVersion() const