mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
fixed a reclist bug induced a couple of commits ago
This commit is contained in:
parent
d4f21fccdd
commit
25e720cf65
@ -23,26 +23,26 @@ namespace MWScript
|
||||
bool CompilerContext::isId (const std::string& name) const
|
||||
{
|
||||
return
|
||||
mEnvironment.mWorld->getStore().activators.find (name) ||
|
||||
mEnvironment.mWorld->getStore().potions.find (name) ||
|
||||
mEnvironment.mWorld->getStore().appas.find (name) ||
|
||||
mEnvironment.mWorld->getStore().armors.find (name) ||
|
||||
mEnvironment.mWorld->getStore().books.find (name) ||
|
||||
mEnvironment.mWorld->getStore().clothes.find (name) ||
|
||||
mEnvironment.mWorld->getStore().containers.find (name) ||
|
||||
mEnvironment.mWorld->getStore().creatures.find (name) ||
|
||||
mEnvironment.mWorld->getStore().doors.find (name) ||
|
||||
mEnvironment.mWorld->getStore().ingreds.find (name) ||
|
||||
mEnvironment.mWorld->getStore().creatureLists.find (name) ||
|
||||
mEnvironment.mWorld->getStore().itemLists.find (name) ||
|
||||
mEnvironment.mWorld->getStore().lights.find (name) ||
|
||||
mEnvironment.mWorld->getStore().lockpicks.find (name) ||
|
||||
mEnvironment.mWorld->getStore().miscItems.find (name) ||
|
||||
mEnvironment.mWorld->getStore().npcs.find (name) ||
|
||||
mEnvironment.mWorld->getStore().probes.find (name) ||
|
||||
mEnvironment.mWorld->getStore().repairs.find (name) ||
|
||||
mEnvironment.mWorld->getStore().statics.find (name) ||
|
||||
mEnvironment.mWorld->getStore().weapons.find (name);
|
||||
mEnvironment.mWorld->getStore().activators.search (name) ||
|
||||
mEnvironment.mWorld->getStore().potions.search (name) ||
|
||||
mEnvironment.mWorld->getStore().appas.search (name) ||
|
||||
mEnvironment.mWorld->getStore().armors.search (name) ||
|
||||
mEnvironment.mWorld->getStore().books.search (name) ||
|
||||
mEnvironment.mWorld->getStore().clothes.search (name) ||
|
||||
mEnvironment.mWorld->getStore().containers.search (name) ||
|
||||
mEnvironment.mWorld->getStore().creatures.search (name) ||
|
||||
mEnvironment.mWorld->getStore().doors.search (name) ||
|
||||
mEnvironment.mWorld->getStore().ingreds.search (name) ||
|
||||
mEnvironment.mWorld->getStore().creatureLists.search (name) ||
|
||||
mEnvironment.mWorld->getStore().itemLists.search (name) ||
|
||||
mEnvironment.mWorld->getStore().lights.search (name) ||
|
||||
mEnvironment.mWorld->getStore().lockpicks.search (name) ||
|
||||
mEnvironment.mWorld->getStore().miscItems.search (name) ||
|
||||
mEnvironment.mWorld->getStore().npcs.search (name) ||
|
||||
mEnvironment.mWorld->getStore().probes.search (name) ||
|
||||
mEnvironment.mWorld->getStore().repairs.search (name) ||
|
||||
mEnvironment.mWorld->getStore().statics.search (name) ||
|
||||
mEnvironment.mWorld->getStore().weapons.search (name);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user