Prechádzať zdrojové kódy

Fix RID::is_valid()

Marc Gilleron 7 rokov pred
rodič
commit
8a89a447b2
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      include/core/RID.hpp

+ 1 - 1
include/core/RID.hpp

@@ -19,7 +19,7 @@ public:
 
 	inline bool is_valid() const {
 		// is_valid() is not available in the C API...
-		return *this == RID();
+		return *this != RID();
 	}
 
 	bool operator==(const RID & p_other) const;