mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +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
|
if ( pStruct->ubHitPoints < pStruct->pDBStructureRef->pDBStructure->ubHitPoints
|
||||||
|| pStruct->ubDecalFlag & STRUCTURE_DECALFLAG_BLOOD )
|
|| pStruct->ubDecalFlag & STRUCTURE_DECALFLAG_BLOOD )
|
||||||
{
|
{
|
||||||
gpWorldLevelData[sGridNo].uiFlags & MAPELEMENT_STRUCTURE_DAMAGED;
|
gpWorldLevelData[sGridNo].uiFlags |= MAPELEMENT_STRUCTURE_DAMAGED;
|
||||||
|
|
||||||
//SetRenderFlags( RENDER_FLAG_FULL );
|
//SetRenderFlags( RENDER_FLAG_FULL );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8309,7 +8309,7 @@ void HandleTBLevelUp(void)
|
|||||||
|
|
||||||
void HandleTBBackpacks(void)
|
void HandleTBBackpacks(void)
|
||||||
{
|
{
|
||||||
if (UsingNewInventorySystem)
|
if (UsingNewInventorySystem())
|
||||||
{
|
{
|
||||||
bool backpackDropped = false;
|
bool backpackDropped = false;
|
||||||
SOLDIERTYPE* pTeamSoldier;
|
SOLDIERTYPE* pTeamSoldier;
|
||||||
|
|||||||
Reference in New Issue
Block a user