Browse Source

Try fix nullptr comparsion

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

8
dlls/whandle.h

@ -42,9 +42,15 @@ public: @@ -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

Loading…
Cancel
Save