summaryrefslogtreecommitdiff
path: root/src/being
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
parentca23f86b2b1ae730d0511bb1613e5f4b7211c8d7 (diff)
downloadmv-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.gz
mv-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.bz2
mv-025e9b12601079e7aeaaaa25225e9dadc376240a.tar.xz
mv-025e9b12601079e7aeaaaa25225e9dadc376240a.zip
Remove default value from parameter isItemSprite in Being->setSprite.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp24
-rw-r--r--src/being/being.h2
2 files changed, 17 insertions, 9 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;
}
}
diff --git a/src/being/being.h b/src/being/being.h
index 6d6929bca..ccda5966f 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -324,7 +324,7 @@ class Being notfinal : public ActorSprite,
std::string color,
ItemColor colorId,
const IsWeapon isWeapon,
- const IsTempSprite isTempSprite = IsTempSprite_false,
+ const IsTempSprite isTempSprite,
const int *const cards = nullptr)
restrict2;