fixed for compiler not recognising script names in some situations

This commit is contained in:
Marc Zinnschlag 2015-10-08 14:01:29 +02:00
parent b911abd7d8
commit 2f808f957d

View file

@ -83,7 +83,8 @@ namespace MWScript
store.get<ESM::Probe>().search (name) || store.get<ESM::Probe>().search (name) ||
store.get<ESM::Repair>().search (name) || store.get<ESM::Repair>().search (name) ||
store.get<ESM::Static>().search (name) || store.get<ESM::Static>().search (name) ||
store.get<ESM::Weapon>().search (name); store.get<ESM::Weapon>().search (name) ||
store.get<ESM::Script>().search (name);
} }
bool CompilerContext::isJournalId (const std::string& name) const bool CompilerContext::isJournalId (const std::string& name) const