Merge pull request #215 from OpenMW/master

Add OpenMW commits up to 9 May 2017
0.6.1
David Cernat 8 years ago committed by GitHub
commit 2eb5221472

@ -645,6 +645,12 @@ namespace MWDialogue
return;
}
if (actor.getClass().isNpc() && MWBase::Environment::get().getWorld()->isSwimming(actor))
{
// NPCs don't talk while submerged
return;
}
const MWWorld::ESMStore &store = MWBase::Environment::get().getWorld()->getStore();
const ESM::Dialogue *dial = store.get<ESM::Dialogue>().find(topic);

Loading…
Cancel
Save