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:
parent
8dcb58d745
commit
b2b9bd94f0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue