summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-29 00:41:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-29 00:41:08 +0300
commitb0cddefee60e56525fe4da0404f18af71c14acaf (patch)
treebc7ddd1d5062320dd9d0e1c63d03a78edbfe8f1f /src/gui/windows/npcdialog.h
parent9b4d3bb164034b1e8a5b7c43572a6649560c0e4a (diff)
downloadmv-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.gz
mv-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.bz2
mv-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.xz
mv-b0cddefee60e56525fe4da0404f18af71c14acaf.zip
Ignore npc dialog skin if skin not exists.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 445cb03ba..997f97e8a 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -46,6 +46,8 @@ class PlayerBox;
class ScrollArea;
class TextField;
+struct NpcDialogInfo;
+
typedef std::map<BeingId, NpcDialog*> NpcDialogs;
/**
@@ -309,6 +311,7 @@ class NpcDialog final : public Window,
std::string mSkinName;
PlayerBox *mPlayerBox A_NONNULLPOINTER;
Being *mAvatarBeing;
+ const NpcDialogInfo *mDialogInfo;
int mLastNextTime;
int mCameraMode;
int mCameraX;