1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00

Fix bolt object type

This commit is contained in:
Capostrophic 2018-08-25 04:05:48 +03:00
parent 8dcb58d745
commit b2b9bd94f0

View file

@ -114,7 +114,7 @@ void CSMTools::MagicEffectCheckStage::perform(int stage, CSMDoc::Messages &messa
if (!effect.mBolt.empty()) if (!effect.mBolt.empty())
{ {
const std::string error = checkObject(effect.mBolt, CSMWorld::UniversalId::Type_Static, "Bolt object"); const std::string error = checkObject(effect.mBolt, CSMWorld::UniversalId::Type_Weapon, "Bolt object");
if (!error.empty()) if (!error.empty())
messages.add(id, error, "", CSMDoc::Message::Severity_Error); messages.add(id, error, "", CSMDoc::Message::Severity_Error);
} }