mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 06:45:35 +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())
|
||||
{
|
||||
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())
|
||||
messages.add(id, error, "", CSMDoc::Message::Severity_Error);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue