Bugfix for rewind: previously for a floating point value f add(f)
would actually call add(Vec3(f)), which adds a vector (f,f,f).
This commit is contained in:
parent
e039eb59c9
commit
40697ab5f7
@ -228,6 +228,12 @@ public:
|
||||
} // operator+=
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
/** Adds a floating point number */
|
||||
BareNetworkString& add(float f)
|
||||
{
|
||||
return addFloat(f);
|
||||
} // add
|
||||
// ------------------------------------------------------------------------
|
||||
/** Adds the xyz components of a Vec3 to the string. */
|
||||
BareNetworkString& add(const Vec3 &xyz)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user