diff options
Diffstat (limited to 'src/gui/charselectdialog.cpp')
-rw-r--r-- | src/gui/charselectdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/charselectdialog.cpp b/src/gui/charselectdialog.cpp index 46f28fe8..1637d001 100644 --- a/src/gui/charselectdialog.cpp +++ b/src/gui/charselectdialog.cpp @@ -104,7 +104,7 @@ class CharacterDisplay : public Container private: void update(); - Net::Character *mCharacter; + Net::Character *mCharacter = nullptr; PlayerBox *mPlayerBox; Label *mName; @@ -347,7 +347,6 @@ bool CharSelectDialog::selectByName(const std::string &name, CharacterDisplay::CharacterDisplay(CharSelectDialog *charSelectDialog): - mCharacter(nullptr), mPlayerBox(new PlayerBox) { mButton = new Button("", "go", charSelectDialog); |