Fixed: updateVector don't need return a boolean

This commit is contained in:
ulukyn 2016-12-13 23:42:02 +01:00
parent 66a34ace54
commit 390765d49f
2 changed files with 2 additions and 2 deletions

View file

@ -1523,7 +1523,7 @@ bool getRelativeFloatFromString(const std::string src, float &dst)
return false;
}
bool updateVector(const string part, CVector &dst, float value, bool add /* = false */)
void updateVector(const string part, CVector &dst, float value, bool add /* = false */)
{
string p = part;
if (part.size() > 1)

View file

@ -169,7 +169,7 @@ std::string getStringCategory(const ucstring &src, ucstring &dest, bool alwaysAd
std::string getStringCategoryIfAny(const ucstring &src, ucstring &dest);
bool getRelativeFloatFromString(const std::string src, float &dst);
bool updateVector(const std::string part, NLMISC::CVector &dst, float value, bool add = false);
void updateVector(const std::string part, NLMISC::CVector &dst, float value, bool add = false);
// Number of shortcut
#define RYZOM_MAX_SHORTCUT 20