summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 17:51:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 17:51:01 +0300
commit025e9b12601079e7aeaaaa25225e9dadc376240a (patch)
treece9136fc783f355046a7a044c2c7d2a7b0cc199a /src/being/being.cpp
parentca23f86b2b1ae730d0511bb1613e5f4b7211c8d7 (diff)
downloadplus-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.gz
plus-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.bz2
plus-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.xz
plus-025e9b12601079e7aeaaaa25225e9dadc376240a.zip
Remove default value from parameter isItemSprite in Being->setSprite.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp24
1 files changed, 16 insertions, 8 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 04b2463b4..d6d9f5f55 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -500,7 +500,8 @@ void Being::setSubtype(const BeingTypeId subtype,
id,
std::string(),
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
}
else
@@ -513,7 +514,8 @@ void Being::setSubtype(const BeingTypeId subtype,
id,
info.getColor(fromInt(mLook, ItemColor)),
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
}
}
@@ -2616,7 +2618,8 @@ void Being::setSpriteID(const unsigned int slot,
id,
mSpriteColors[slot],
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
void Being::setSpriteColor(const unsigned int slot,
@@ -2626,7 +2629,8 @@ void Being::setSpriteColor(const unsigned int slot,
mSpriteIDs[slot],
color,
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
void Being::setHairStyle(const unsigned int slot,
@@ -2637,7 +2641,8 @@ void Being::setHairStyle(const unsigned int slot,
id,
ItemDB::get(id).getDyeColorsString(mHairColor),
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
// dumpSprites();
}
@@ -2652,7 +2657,8 @@ void Being::setHairColor(const unsigned int slot,
mSpriteIDs[slot],
ItemDB::get(id).getDyeColorsString(color),
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
}
@@ -2841,7 +2847,8 @@ void Being::setGender(const GenderT gender) restrict2
mSpriteIDs[i],
mSpriteColors[i],
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
}
}
@@ -3695,7 +3702,8 @@ void Being::undressItemById(const int id) restrict2
0,
std::string(),
ItemColor_one,
- IsWeapon_false);
+ IsWeapon_false,
+ IsTempSprite_false);
break;
}
}