Skip to content

Commit

Permalink
NWN: Don't implicitly depend on explicit ScopedPtr bool conversion
Browse files Browse the repository at this point in the history
Because this won't compile in C++11 mode, by design.
  • Loading branch information
DrMcCoy committed May 7, 2017
1 parent 9efc146 commit dc08873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engines/nwn/gui/ingame/ingame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ void IngameGUI::updatePartyMember(size_t partyMember, const Creature &creature,
}

bool IngameGUI::hasRunningConversation() const {
return _dialog != 0;
return _dialog.get() != 0;
}

bool IngameGUI::startConversation(const Common::UString &conv,
Expand Down

0 comments on commit dc08873

Please sign in to comment.