mirror of https://github.com/FWGS/hlsdk-xash3d
gearbox: fix -Werror=parentheses
This commit is contained in:
parent
aaf9b6a278
commit
bc88c81f7c
|
@ -464,7 +464,7 @@ void CCTFMultiplay::PlayerSpawn(CBasePlayer *pPlayer)
|
|||
|
||||
addDefault = TRUE;
|
||||
|
||||
while (pWeaponEntity = UTIL_FindEntityByClassname(pWeaponEntity, "game_player_equip"))
|
||||
while ((pWeaponEntity = UTIL_FindEntityByClassname(pWeaponEntity, "game_player_equip")))
|
||||
{
|
||||
pWeaponEntity->Touch(pPlayer);
|
||||
addDefault = FALSE;
|
||||
|
|
|
@ -724,7 +724,7 @@ void CGeneWorm::DyingThink(void)
|
|||
m_pBall = NULL;
|
||||
}
|
||||
CBaseEntity* entity = NULL;
|
||||
while(entity = UTIL_FindEntityByClassname(entity, "monster_shocktrooper"))
|
||||
while((entity = UTIL_FindEntityByClassname(entity, "monster_shocktrooper")))
|
||||
entity->SUB_StartFadeOut();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue