mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 02:50:53 +00:00
Fixed: updateVector don't need return a boolean
This commit is contained in:
parent
66a34ace54
commit
390765d49f
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