Update Vector.hpp

This commit is contained in:
Sandu Liviu Catalin committed 2021-02-03 23:16:59 +02:00
1 parent 35ff0e6eea
commit e1741ada5d
1 file changed
+1 -1
+1 -1
View File
@@ -270,7 +270,7 @@ template < class T > struct SqVector
*/
SQMOD_NODISCARD bool IsNull() const
{
return static_cast< bool >(mC);
return !mC;
}
/* --------------------------------------------------------------------------------------------