Fixed: updateVector don't need return a boolean

--HG--
branch : compatibility-develop
This commit is contained in:
ulukyn@gmail.com 2016-12-13 23:42:02 +01:00
parent 68e6dbaf9a
commit c6f10d493d
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