Skip to content

Commit

Permalink
xrGame/ui/UITalkDialogWnd.cpp: Fixed copy-paste screwed dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed May 14, 2019
1 parent d605f3c commit 402d6e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xrGame/ui/UITalkDialogWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void CUITalkDialogWnd::InitTalkDialogWnd()

// Main dialog frame
UIDialogFrameTop = UIHelper::CreateStatic(*m_uiXml, "frame_top", this, false);
if (UIDialogFrameBottom)
answersParent = UIDialogFrameBottom;
if (UIDialogFrameTop)
answersParent = UIDialogFrameTop;

// Answers
UIAnswersList = UIHelper::CreateScrollView(*m_uiXml, "answers_list", answersParent);
Expand Down

0 comments on commit 402d6e2

Please sign in to comment.