src/game/TileEngine/Explosion_Control.cc
// Go through all the bombs in the world, and look for remote ones
Go through all the bombs in the world, and look for remote ones
Go through all the bombs in the world and look for remote ones
CFOR_EACH_WORLD_BOMB(wb)
	{
		OBJECTTYPE& o = GetWorldItem(wb->iItemIndex).o;
		if (o.bDetonatorType == BOMB_REMOTE)
		{
			if (o.bFrequency == bFrequency)
			{
				if (o.fFlags & OBJECT_DISABLED_BOMB)
				{
					o.fFlags &= ~OBJECT_DISABLED_BOMB;
				}
				else
				{
					o.fFlags |= OBJECT_DISABLED_BOMB;
				}
			}
		}
	}
CFOR_EACH_WORLD_BOMB ( wb ) { OBJECTTYPE & o = GetWorldItem ( wb -> iItemIndex ) . o ; if ( o . bDetonatorType == BOMB_REMOTE ) { if ( o . bFrequency == bFrequency ) { if ( o . fFlags & OBJECT_DISABLED_BOMB ) { o . fFlags &= ~ OBJECT_DISABLED_BOMB ; } else { o . fFlags |= OBJECT_DISABLED_BOMB ; } } } }
Go through all the bombs in the world, and look for remote ones
Go through all the bombs in the world and look for remote ones
// Found a remote bomb, so check to see if it has the same frequency // toggle its active flag