forked from mirror/openmw-tes3mp
fixed CSMWorld::ScriptContext::isJournalId
This commit is contained in:
parent
0a8ffbfb1d
commit
0ff744c2ff
1 changed files with 1 additions and 2 deletions
|
@ -109,8 +109,7 @@ bool CSMWorld::ScriptContext::isId (const std::string& name) const
|
|||
|
||||
bool CSMWorld::ScriptContext::isJournalId (const std::string& name) const
|
||||
{
|
||||
/// \todo fix this after isId is fixed
|
||||
return isId (name);
|
||||
return mData.getJournals().searchId (name)!=-1;
|
||||
}
|
||||
|
||||
void CSMWorld::ScriptContext::invalidateIds()
|
||||
|
|
Loading…
Reference in a new issue