diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-04-01 03:09:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-04-01 03:09:27 +0300 |
commit | 51a231c22425db9eeda38889deda3b07dcdd6924 (patch) | |
tree | e1b175e868cc2c2a8e0772c594d38886bb212ac3 /src/gui | |
parent | 160b99b0b07c821e63eca4d6e80ab053705bf9c9 (diff) | |
download | manaverse-51a231c22425db9eeda38889deda3b07dcdd6924.tar.gz manaverse-51a231c22425db9eeda38889deda3b07dcdd6924.tar.bz2 manaverse-51a231c22425db9eeda38889deda3b07dcdd6924.tar.xz manaverse-51a231c22425db9eeda38889deda3b07dcdd6924.zip |
Remove useless check.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 5f99a16fc..1359d33e7 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -662,8 +662,6 @@ void CharSelectDialog::setName(const BeingId id, const std::string &newName) i < fsz; ++i) { - if (mCharacterEntries[i] == nullptr) - continue; CharacterDisplay *const character = mCharacterEntries[i]; if (character == nullptr) continue; |