diff options
| author | YunataSavior <58997725+YunataSavior@users.noreply.github.com> | 2025-12-26 16:23:14 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-26 16:23:14 -0800 |
| commit | 6e3b22adee4d6c5ad5e221ac3ffe93b91a82134e (patch) | |
| tree | 4df1632a82e2990ba3ea8047235bbd2c991bb9fc /include/SSystem | |
| parent | 09280ae00bf6e457aa4694dbcb3f8388f702f3b9 (diff) | |
Debug d_a_e_ym (#3003)
Diffstat (limited to 'include/SSystem')
| -rw-r--r-- | include/SSystem/SComponent/c_xyz.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/SSystem/SComponent/c_xyz.h b/include/SSystem/SComponent/c_xyz.h index bf2008cfdb..be2bf76935 100644 --- a/include/SSystem/SComponent/c_xyz.h +++ b/include/SSystem/SComponent/c_xyz.h @@ -36,10 +36,11 @@ struct cXyz : Vec { this->y = vec.y; this->z = vec.z; } - void operator=(const Vec& vec) { + cXyz& operator=(const Vec& vec) { this->x = vec.x; this->y = vec.y; this->z = vec.z; + return *this; } cXyz operator+(Vec const&) const; cXyz operator-(Vec const&) const; |
