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)
	{
		WORLDITEM& wi = GetWorldItem(wb->iItemIndex);
		if (wi.sGridNo != sGridNo) continue;
		OBJECTTYPE& o = wi.o;
		if (o.bDetonatorType == BOMB_PRESSURE)
		{
			if (o.fFlags & OBJECT_DISABLED_BOMB)
			{
				o.fFlags &= ~OBJECT_DISABLED_BOMB;
			}
			else
			{
				o.fFlags |= OBJECT_DISABLED_BOMB;
			}
		}
	}
CFOR_EACH_WORLD_BOMB ( wb ) { WORLDITEM & wi = GetWorldItem ( wb -> iItemIndex ) ; if ( wi . sGridNo != sGridNo ) continue ; OBJECTTYPE & o = wi . o ; if ( o . bDetonatorType == BOMB_PRESSURE ) { 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 pressure item // toggle its active flag