diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-29 00:41:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-29 00:41:08 +0300 |
commit | b0cddefee60e56525fe4da0404f18af71c14acaf (patch) | |
tree | bc7ddd1d5062320dd9d0e1c63d03a78edbfe8f1f /src/gui/windows/npcdialog.h | |
parent | 9b4d3bb164034b1e8a5b7c43572a6649560c0e4a (diff) | |
download | plus-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.gz plus-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.bz2 plus-b0cddefee60e56525fe4da0404f18af71c14acaf.tar.xz plus-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.h | 3 |
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; |