diff --git a/src/RageUtil_AutoPtr.h b/src/RageUtil_AutoPtr.h index 6cfb301007..61fd723828 100644 --- a/src/RageUtil_AutoPtr.h +++ b/src/RageUtil_AutoPtr.h @@ -176,7 +176,7 @@ public: } #endif - bool isNull() const { return m_pPtr != nullptr; } + bool isNull() const { return m_pPtr == nullptr; } private: T *m_pPtr;