mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Fixed: updateVector don't need return a boolean
--HG-- branch : compatibility-develop
This commit is contained in:
parent
68e6dbaf9a
commit
c6f10d493d
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue