Browse Source

Try fix nullptr comparsion

gravgun
mittorn 6 years ago
parent
commit
fb73b35c8e
  1. 6
      dlls/whandle.h

6
dlls/whandle.h

@ -42,6 +42,12 @@ public: @@ -42,6 +42,12 @@ public:
{
return Get() != other.Get();
}
bool operator !=(my_nullptr_t null)
{
return Get() != (edict_t*)0;
}
};
#else
#define EHBasePlayerItem CBasePlayerItem*

Loading…
Cancel
Save