summaryrefslogtreecommitdiff
path: root/src/gui/windows/charcreatedialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-21 14:48:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-21 14:48:50 +0300
commit71cccfd289845fcd31e64f35d600ebafd4aa29c6 (patch)
tree92aa5ed488968288b4308276e2ce889b872d14d1 /src/gui/windows/charcreatedialog.cpp
parent2db418d196b1778c0160420201066af824f6eae1 (diff)
downloadmv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.gz
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.bz2
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.tar.xz
mv-71cccfd289845fcd31e64f35d600ebafd4aa29c6.zip
Split in Being setSprite into setSprite and setSpriteId.
Diffstat (limited to 'src/gui/windows/charcreatedialog.cpp')
-rw-r--r--src/gui/windows/charcreatedialog.cpp6
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)