1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 17:39:42 +00:00

Merge branch 'msvc_crash_fix' into 'master'

Avoid MSVC crash in Visual Studio 17.10.0

See merge request OpenMW/openmw!4116
This commit is contained in:
psi29a 2024-05-23 10:05:52 +00:00
commit b0aa19dc07

View file

@ -75,8 +75,8 @@ namespace CSMWorld
/// Marks an additional dependency
void addOtherDependency(const ESM::RefId& id);
/// Clears parts and dependencies
void reset_data(const ESM::RefId& raceId,
const WeightsHeights& raceStats = { osg::Vec2f(1.f, 1.f), osg::Vec2f(1.f, 1.f) }, bool isBeast = false);
void reset_data(const ESM::RefId& raceId, const WeightsHeights& raceStats = { { 1.f, 1.f }, { 1.f, 1.f } },
bool isBeast = false);
private:
bool handles(ESM::PartReferenceType type) const;