mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 15:35:23 +00:00
Add a check for scale value of 0. Should resolve bug #2880.
This commit is contained in:
parent
7c007d9c6d
commit
819fecd08e
@ -468,6 +468,9 @@ void CSMTools::ReferenceableCheckStage::creatureCheck (
|
||||
if (creature.mData.mGold < 0) //It seems that this is for gold in merchant creatures
|
||||
messages.push_back (std::make_pair (id, creature.mId + " has negative gold "));
|
||||
|
||||
if (creature.mScale == 0)
|
||||
messages.push_back (std::make_pair (id, creature.mId + " has zero scale value"));
|
||||
|
||||
// Check that mentioned scripts exist
|
||||
scriptCheck<ESM::Creature>(creature, messages, id.toString());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user