diff --git a/dlls/whandle.h b/dlls/whandle.h index e86d871a..6686461e 100644 --- a/dlls/whandle.h +++ b/dlls/whandle.h @@ -42,9 +42,15 @@ public: { return Get() != other.Get(); } + + + bool operator !=(my_nullptr_t null) + { + return Get() != (edict_t*)0; + } }; #else #define EHBasePlayerItem CBasePlayerItem* #endif -#endif \ No newline at end of file +#endif