mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
cleanup
This commit is contained in:
parent
f3d23dc57e
commit
1b7b322bac
@ -298,6 +298,11 @@ namespace
|
||||
iter->mData.enable();
|
||||
MWBase::Environment::get().getWorld()->disable(ptr);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (state.mVersion < ESM::OpenMW0_50SaveGameFormatVersion)
|
||||
iter->mData.flagAsResolved();
|
||||
}
|
||||
MWBase::Environment::get().getWorldModel()->registerPtr(ptr);
|
||||
return;
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ namespace
|
||||
// can then be handled by a script.
|
||||
Flag_OnActivate = 2,
|
||||
Flag_ActivationBuffered = 4,
|
||||
Flag_Resolved = 8,
|
||||
Flag_Resolved = 8
|
||||
};
|
||||
}
|
||||
|
||||
@ -134,7 +134,7 @@ namespace MWWorld
|
||||
try
|
||||
{
|
||||
copy(refData);
|
||||
mFlags &= ~(Flag_SuppressActivate | Flag_OnActivate | Flag_ActivationBuffered);
|
||||
mFlags &= ~(Flag_SuppressActivate | Flag_OnActivate | Flag_ActivationBuffered | Flag_Resolved);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
|
@ -1134,7 +1134,7 @@ namespace MWWorld
|
||||
{
|
||||
const VFS::Path::Normalized meshPath = useAnim
|
||||
? Misc::ResourceHelpers::correctActorModelPath(
|
||||
VFS::Path::toNormalized(mesh), mRendering.getResourceSystem()->getVFS())
|
||||
VFS::Path::toNormalized(mesh), mRendering.getResourceSystem()->getVFS())
|
||||
: VFS::Path::toNormalized(mesh);
|
||||
|
||||
if (mRendering.getResourceSystem()->getSceneManager()->checkLoaded(meshPath, mRendering.getReferenceTime()))
|
||||
|
@ -28,7 +28,7 @@ namespace ESM
|
||||
inline constexpr FormatVersion MaxOldCountFormatVersion = 30;
|
||||
inline constexpr FormatVersion MaxActiveSpellTypeVersion = 31;
|
||||
inline constexpr FormatVersion MaxPlayerBeforeCellDataFormatVersion = 32;
|
||||
inline constexpr FormatVersion CurrentSaveGameFormatVersion = 34;
|
||||
inline constexpr FormatVersion CurrentSaveGameFormatVersion = 35;
|
||||
|
||||
inline constexpr FormatVersion MinSupportedSaveGameFormatVersion = 5;
|
||||
inline constexpr FormatVersion OpenMW0_48SaveGameFormatVersion = 21;
|
||||
|
Loading…
x
Reference in New Issue
Block a user