diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 4 | ||||
-rw-r--r-- | src/being/being.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 855a081e9..4adc83fcb 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -495,7 +495,7 @@ void Being::setSubtype(const BeingTypeId subtype, // TRANSLATORS: default race name setRaceName(_("Human")); if (charServerHandler) - setSprite(charServerHandler->baseSprite(), id); + setSprite(charServerHandler->baseSprite(), id, std::string()); } else { @@ -3663,7 +3663,7 @@ void Being::undressItemById(const int id) restrict2 { if (id == mSpriteIDs[f]) { - setSprite(CAST_U32(f), 0); + setSprite(CAST_U32(f), 0, std::string()); break; } } diff --git a/src/being/being.h b/src/being/being.h index 5c9f7115d..28cf7a04a 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -321,7 +321,7 @@ class Being notfinal : public ActorSprite, */ void setSprite(const unsigned int slot, const int id, - std::string color = "", + std::string color, ItemColor colorId = ItemColor_one, const IsWeapon isWeapon = IsWeapon_false, const IsTempSprite isTempSprite = IsTempSprite_false, |