Skip to content

Commit

Permalink
KOTORBASE: Add that non-creature object dialogs are properly started
Browse files Browse the repository at this point in the history
  • Loading branch information
Nostritius authored and DrMcCoy committed May 26, 2019
1 parent d734750 commit 1c963f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/engines/kotorbase/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,10 @@ void Module::startConversation(const Common::UString &name, Aurora::NWScript::Ob
Creature *creature = ObjectContainer::toCreature(owner);
if (creature)
finalName = creature->getConversation();

Situated *situated = ObjectContainer::toSituated(owner);
if (situated)
finalName = situated->getConversation();
}

if (finalName.empty())
Expand Down

0 comments on commit 1c963f4

Please sign in to comment.