diff --git a/module/Library/Utils/Vector.hpp b/module/Library/Utils/Vector.hpp index e57db81e..a7ccb9eb 100644 --- a/module/Library/Utils/Vector.hpp +++ b/module/Library/Utils/Vector.hpp @@ -270,7 +270,7 @@ template < class T > struct SqVector */ SQMOD_NODISCARD bool IsNull() const { - return static_cast< bool >(mC); + return !mC; } /* --------------------------------------------------------------------------------------------