mirror of https://github.com/FWGS/hlsdk-xash3d
Try make clang happy again
This commit is contained in:
parent
c4ce9bb1fa
commit
f40f69cb76
|
@ -37,13 +37,16 @@ public:
|
||||||
Set(0);
|
Set(0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
operator int ()
|
||||||
|
{
|
||||||
|
return Get() != NULL;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator !=(EHBasePlayerItem &other)
|
bool operator !=(EHBasePlayerItem &other)
|
||||||
{
|
{
|
||||||
return Get() != other.Get();
|
return Get() != other.Get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool operator !=(my_nullptr_t &null)
|
bool operator !=(my_nullptr_t &null)
|
||||||
{
|
{
|
||||||
return Get() != (edict_t*)0;
|
return Get() != (edict_t*)0;
|
||||||
|
|
Loading…
Reference in New Issue