@ -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();