Try fix nullptr comparsion

This commit is contained in:
mittorn 2018-07-29 20:34:55 +07:00
parent cadd6cd2c7
commit fb73b35c8e

View File

@ -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
#endif