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;
30
30
31
31
CBaseHandle ();
32
32
CBaseHandle ( const CBaseHandle &other );
33
- CBaseHandle ( unsigned long value );
33
+ CBaseHandle ( uintp value );
34
34
CBaseHandle ( int iEntry, int iSerialNumber );
35
35
36
36
void Init ( int iEntry, int iSerialNumber );
@@ -63,7 +63,7 @@ friend class CBaseEntityList;
63
63
protected:
64
64
// The low NUM_SERIAL_BITS hold the index. If this value is less than MAX_EDICTS, then the entity is networkable.
65
65
// The high NUM_SERIAL_NUM_BITS bits are the serial number.
66
- unsigned long m_Index;
66
+ uintp m_Index;
67
67
};
68
68
69
69
@@ -80,7 +80,7 @@ inline CBaseHandle::CBaseHandle( const CBaseHandle &other )
80
80
m_Index = other.m_Index ;
81
81
}
82
82
83
- inline CBaseHandle::CBaseHandle ( unsigned long value )
83
+ inline CBaseHandle::CBaseHandle ( uintp value )
84
84
{
85
85
m_Index = value;
86
86
}
@@ -150,7 +150,7 @@ inline bool CBaseHandle::operator <( const CBaseHandle &other ) const
150
150
151
151
inline bool CBaseHandle::operator <( const IHandleEntity *pEntity ) const
152
152
{
153
- unsigned long otherIndex = (pEntity) ? pEntity->GetRefEHandle ().m_Index : INVALID_EHANDLE_INDEX;
153
+ uintp otherIndex = (pEntity) ? pEntity->GetRefEHandle ().m_Index : INVALID_EHANDLE_INDEX;
154
154
return m_Index < otherIndex;
155
155
}
156
156
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ struct levellist_t
102
102
103
103
struct EHandlePlaceholder_t // Engine does some of the game writing (alas, probably shouldn't), but can't see ehandle.h
104
104
{
105
- unsigned long i;
105
+ uintp i;
106
106
};
107
107
108
108
// -------------------------------------
You can’t perform that action at this time.
0 commit comments