mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-07 02:28:22 +00:00
Fix networkvar.h Errors on x86-64 (#337)
This commit is contained in:
parent
7db62f1320
commit
3a468952ef
@ -22,7 +22,7 @@
|
|||||||
#pragma warning( disable : 4284 ) // warning C4284: return type for 'CNetworkVarT<int>::operator ->' is 'int *' (ie; not a UDT or reference to a UDT. Will produce errors if applied using infix notation)
|
#pragma warning( disable : 4284 ) // warning C4284: return type for 'CNetworkVarT<int>::operator ->' is 'int *' (ie; not a UDT or reference to a UDT. Will produce errors if applied using infix notation)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MyOffsetOf( type, var ) ( (int)&((type*)0)->var )
|
#define MyOffsetOf( type, var ) ( (int)(intp)&((type*)0)->var )
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#undef new
|
#undef new
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user