mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-03-13 05:51:19 +00:00
Try fix nullptr comparsion
This commit is contained in:
parent
cadd6cd2c7
commit
fb73b35c8e
@ -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…
x
Reference in New Issue
Block a user