mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Address two compiler warnings (#258)
This commit is contained in:
@@ -8165,7 +8165,7 @@ void CorrectDragStructData( INT32 sGridNo, INT8 sLevel, UINT8 ausHitpoints, UINT
|
||||
if ( pStruct->ubHitPoints < pStruct->pDBStructureRef->pDBStructure->ubHitPoints
|
||||
|| pStruct->ubDecalFlag & STRUCTURE_DECALFLAG_BLOOD )
|
||||
{
|
||||
gpWorldLevelData[sGridNo].uiFlags & MAPELEMENT_STRUCTURE_DAMAGED;
|
||||
gpWorldLevelData[sGridNo].uiFlags |= MAPELEMENT_STRUCTURE_DAMAGED;
|
||||
|
||||
//SetRenderFlags( RENDER_FLAG_FULL );
|
||||
}
|
||||
|
||||
@@ -8309,7 +8309,7 @@ void HandleTBLevelUp(void)
|
||||
|
||||
void HandleTBBackpacks(void)
|
||||
{
|
||||
if (UsingNewInventorySystem)
|
||||
if (UsingNewInventorySystem())
|
||||
{
|
||||
bool backpackDropped = false;
|
||||
SOLDIERTYPE* pTeamSoldier;
|
||||
|
||||
Reference in New Issue
Block a user