mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-03 17:54:06 +00:00
fixed Clang and whitespace difference with master
This commit is contained in:
parent
10de4a5156
commit
9a19bb84a4
@ -41,7 +41,6 @@
|
||||
#include <components/esm3/loadbody.hpp>
|
||||
#include <components/esm3/loadench.hpp>
|
||||
|
||||
|
||||
#include "../mwbase/environment.hpp"
|
||||
#include "../mwbase/luamanager.hpp"
|
||||
#include "../mwbase/mechanicsmanager.hpp"
|
||||
@ -152,7 +151,7 @@ namespace
|
||||
// Deleted reference that did not come from a content file -> ignore
|
||||
continue;
|
||||
}
|
||||
using StateType = RecordToState<T>::StateType;
|
||||
using StateType = typename RecordToState<T>::StateType;
|
||||
StateType state;
|
||||
iter->save (state);
|
||||
|
||||
@ -209,7 +208,7 @@ namespace
|
||||
{
|
||||
const MWWorld::ESMStore& esmStore = MWBase::Environment::get().getWorld()->getStore();
|
||||
|
||||
using StateType = RecordToState<T>::StateType;
|
||||
using StateType = typename RecordToState<T>::StateType;
|
||||
StateType state;
|
||||
state.mRef = cref;
|
||||
state.load(reader);
|
||||
@ -245,7 +244,7 @@ namespace
|
||||
}
|
||||
else if(state.mVersion < 20)
|
||||
{
|
||||
if constexpr (std::is_same_v<T, ESM::Creature>|| std::is_same_v<T, ESM::NPC>)
|
||||
if constexpr (std::is_same_v<T, ESM::Creature> || std::is_same_v<T, ESM::NPC>)
|
||||
MWWorld::convertStats(state.mCreatureStats);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user