summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-13 20:33:37 +0300
commit5ae6d3b29f93fe2bd7222eb843c8688561ac612c (patch)
treebb531156ba9adb428fea2fae5b97f94d3198d70d /src/gui/windows/npcdialog.cpp
parent938bda786f0fe21c37a222f1ff1dfff7fcdcb538 (diff)
downloadplus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.gz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.bz2
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.tar.xz
plus-5ae6d3b29f93fe2bd7222eb843c8688561ac612c.zip
improve variables order in windows.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 1956a8da3..17454b6ab 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -115,12 +115,12 @@ NpcDialog::NpcDialog(const int npcId) :
getOptionBool("showitemsbackground"), "npc_listbackground.xml")),
mInputState(NPC_INPUT_NONE),
mActionState(NPC_ACTION_WAIT),
+ mPlayerBox(new PlayerBox(nullptr)),
+ mAvatarBeing(nullptr),
mLastNextTime(0),
mCameraMode(-1),
mCameraX(0),
mCameraY(0),
- mPlayerBox(new PlayerBox(nullptr)),
- mAvatarBeing(nullptr),
mShowAvatar(false),
mLogInteraction(config.getBoolValue("logNpcInGui"))
{