From b0cddefee60e56525fe4da0404f18af71c14acaf Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Oct 2015 00:41:08 +0300 Subject: Ignore npc dialog skin if skin not exists. --- src/gui/windows/npcdialog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/windows/npcdialog.h') 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 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; -- cgit v1.2.3-70-g09d2