Please GCC?
This commit is contained in:
+3
-3
@@ -795,7 +795,7 @@ cell_t CHalfLife2::IndexToReference(int entIndex)
|
||||
|
||||
int CHalfLife2::ReferenceToIndex(cell_t entRef)
|
||||
{
|
||||
if (entRef == INVALID_EHANDLE_INDEX)
|
||||
if ((unsigned)entRef == INVALID_EHANDLE_INDEX)
|
||||
{
|
||||
return INVALID_EHANDLE_INDEX;
|
||||
}
|
||||
@@ -841,7 +841,7 @@ cell_t CHalfLife2::EntityToBCompatRef(CBaseEntity *pEntity)
|
||||
|
||||
cell_t CHalfLife2::ReferenceToBCompatRef(cell_t entRef)
|
||||
{
|
||||
if (entRef == INVALID_EHANDLE_INDEX)
|
||||
if ((unsigned)entRef == INVALID_EHANDLE_INDEX)
|
||||
{
|
||||
return INVALID_EHANDLE_INDEX;
|
||||
}
|
||||
@@ -860,4 +860,4 @@ cell_t CHalfLife2::ReferenceToBCompatRef(cell_t entRef)
|
||||
void *CHalfLife2::GetGlobalEntityList()
|
||||
{
|
||||
return g_EntList;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user