summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-22 19:35:22 +0300
commit34bd6e0b8e0fb74cc416550a52e6406c47fefea6 (patch)
treef2e36f2ae2b721de22be4e1b18cf1dd09ba03741 /src/being/being.cpp
parent1ee6d71c1d771ab8a990ef427a59f54132910ac7 (diff)
downloadManaVerse-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.gz
ManaVerse-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.bz2
ManaVerse-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.tar.xz
ManaVerse-34bd6e0b8e0fb74cc416550a52e6406c47fefea6.zip
Add some missing consts.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 2737f2b8a..3f58bbde6 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2625,7 +2625,7 @@ void Being::setSpriteId(const unsigned int slot,
BeingSlot &beingSlot = mSlots[slot];
beingSlot.spriteId = id;
- beingSlot.color = "";
+ beingSlot.color.clear();
beingSlot.colorId = ItemColor_one;
beingSlot.cardsId = CardsList(nullptr);
recalcSpritesOrder();