fixed a reclist bug induced a couple of commits ago

pull/7/head
Marc Zinnschlag 15 years ago
parent e43b475ade
commit aa4e79c0de

@ -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…
Cancel
Save