some nasty FIX_BUGS for SLIDE_OBJECT

This commit is contained in:
Nikolay Korolev
2020-11-28 21:26:38 +03:00
parent b47c505438
commit 8cb3c07151
2 changed files with 26 additions and 5 deletions

View File

@ -65,11 +65,11 @@ public:
return CVector(-x, -y, -z);
}
const bool operator==(CVector const &right) {
const bool operator==(CVector const &right) const {
return x == right.x && y == right.y && z == right.z;
}
const bool operator!=(CVector const &right) {
const bool operator!=(CVector const &right) const {
return x != right.x || y != right.y || z != right.z;
}