diff options
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r-- | src/gui/npcdialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index 49ec5f8a..fc0325a4 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -177,7 +177,7 @@ class NpcDialog : public Window, int mNpcId; bool mLogInteraction; - int mDefaultInt; + int mDefaultInt = 0; std::string mDefaultString; // Used for the main input area @@ -221,8 +221,8 @@ class NpcDialog : public Window, NPC_ACTION_CLOSE }; - NpcInputState mInputState; - NpcActionState mActionState; + NpcInputState mInputState = NPC_INPUT_NONE; + NpcActionState mActionState = NPC_ACTION_WAIT; }; #endif // NPCDIALOG_H |