File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ friend class CBaseEntityList;
3030
3131 CBaseHandle ();
3232 CBaseHandle ( const CBaseHandle &other );
33- CBaseHandle ( unsigned long value );
33+ CBaseHandle ( uintp value );
3434 CBaseHandle ( int iEntry, int iSerialNumber );
3535
3636 void Init ( int iEntry, int iSerialNumber );
@@ -63,7 +63,7 @@ friend class CBaseEntityList;
6363protected:
6464 // The low NUM_SERIAL_BITS hold the index. If this value is less than MAX_EDICTS, then the entity is networkable.
6565 // The high NUM_SERIAL_NUM_BITS bits are the serial number.
66- unsigned long m_Index;
66+ uintp m_Index;
6767};
6868
6969
@@ -80,7 +80,7 @@ inline CBaseHandle::CBaseHandle( const CBaseHandle &other )
8080 m_Index = other.m_Index ;
8181}
8282
83- inline CBaseHandle::CBaseHandle ( unsigned long value )
83+ inline CBaseHandle::CBaseHandle ( uintp value )
8484{
8585 m_Index = value;
8686}
@@ -150,7 +150,7 @@ inline bool CBaseHandle::operator <( const CBaseHandle &other ) const
150150
151151inline bool CBaseHandle::operator <( const IHandleEntity *pEntity ) const
152152{
153- unsigned long otherIndex = (pEntity) ? pEntity->GetRefEHandle ().m_Index : INVALID_EHANDLE_INDEX;
153+ uintp otherIndex = (pEntity) ? pEntity->GetRefEHandle ().m_Index : INVALID_EHANDLE_INDEX;
154154 return m_Index < otherIndex;
155155}
156156
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ struct levellist_t
102102
103103struct EHandlePlaceholder_t // Engine does some of the game writing (alas, probably shouldn't), but can't see ehandle.h
104104{
105- unsigned long i;
105+ uintp i;
106106};
107107
108108// -------------------------------------
You can’t perform that action at this time.
0 commit comments