diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-21 14:48:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-21 14:48:50 +0300 |
commit | 71cccfd289845fcd31e64f35d600ebafd4aa29c6 (patch) | |
tree | 92aa5ed488968288b4308276e2ce889b872d14d1 /src/gui | |
parent | 2db418d196b1778c0160420201066af824f6eae1 (diff) | |
download | manaplus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.gz manaplus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.bz2 manaplus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.xz manaplus-71cccfd289845fcd31e64f35d600ebafd4aa29c6.zip |
Split in Being setSprite into setSprite and setSpriteId.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/charcreatedialog.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index c58be3e02..762d76c00 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -156,10 +156,8 @@ CharCreateDialog::CharCreateDialog(CharSelectDialog *const parent, it != it_fend; ++ it, i ++) { - mPlayer->setSprite(i, - *it, - std::string(), - ItemColor_one); + mPlayer->setSpriteId(i, + *it); } if (!maxHairColor) |