diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-12 17:33:51 +0300 |
commit | 37969cb5a1892a05abc84f087213c9903c2c654e (patch) | |
tree | 52835ded960d26e227a5ec3f7690c092a6b8a2d5 /src/vector.h | |
parent | c98d192af4daa48a4c27cfa3225e22e89f329525 (diff) | |
download | manaverse-37969cb5a1892a05abc84f087213c9903c2c654e.tar.gz manaverse-37969cb5a1892a05abc84f087213c9903c2c654e.tar.bz2 manaverse-37969cb5a1892a05abc84f087213c9903c2c654e.tar.xz manaverse-37969cb5a1892a05abc84f087213c9903c2c654e.zip |
Fix code style.
Diffstat (limited to 'src/vector.h')
-rw-r--r-- | src/vector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vector.h b/src/vector.h index 9f3ca47c0..d24e91e9b 100644 --- a/src/vector.h +++ b/src/vector.h @@ -72,11 +72,12 @@ class Vector final return x == 0.0F && y == 0.0F && z == 0.0F; } - void operator=(const Vector &v) + Vector &operator=(const Vector &v) { x = v.x; y = v.y; z = v.z; + return *this; } /** |