Skip to content

Commit

Permalink
Merge pull request #39063 from AMurkin/set_is_riding-swap-actors
Browse files Browse the repository at this point in the history
Fix NPC dialogue mount/dismount option
  • Loading branch information
ZhilkinSerg authored Mar 27, 2020
2 parents acddfc1 + d1d8a59 commit 9466c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/condition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ template<class T>
void conditional_t<T>::set_is_riding( bool is_npc )
{
condition = [is_npc]( const T & d ) {
return ( is_npc ? d.alpha : d.beta )->is_mounted();
return ( is_npc ? d.beta : d.alpha )->is_mounted();
};
}

Expand Down

0 comments on commit 9466c62

Please sign in to comment.