summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 26ed555c2..010fb3182 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -118,6 +118,7 @@
#include "utils/foreach.h"
#include "utils/gettext.h"
#include "utils/likely.h"
+#include "utils/stdmove.h"
#include "utils/timer.h"
#include "debug.h"
@@ -2902,7 +2903,7 @@ void Being::setSpriteColorId(const unsigned int slot,
BeingSlot &beingSlot = mSlots[slot];
beingSlot.spriteId = id;
- beingSlot.color = color;
+ beingSlot.color = STD_MOVE(color);
beingSlot.colorId = colorId;
beingSlot.cardsId = CardsList(nullptr);
recalcSpritesOrder();
@@ -2990,7 +2991,7 @@ void Being::setSpriteCards(const unsigned int slot,
BeingSlot &beingSlot = mSlots[slot];
beingSlot.spriteId = id;
- beingSlot.color = color;
+ beingSlot.color = STD_MOVE(color);
beingSlot.colorId = colorId;
beingSlot.cardsId = CardsList(cards);
recalcSpritesOrder();