src/game/Tactical/Map_Information.cc
CFOR_EACH_SOLDIERINITNODE(curr)
	{
		if( curr->pDetailedPlacement )
		{
			for( i = 0; i < NUM_INV_SLOTS; i++ )
			{
				pItem = &curr->pDetailedPlacement->Inv[ i ];
				if( pItem->usItem != NONE )
				{
					//case 1 (see above)
					pItem->fFlags |= OBJECT_NO_OVERWRITE;
				}
				else if( !(pItem->fFlags & OBJECT_UNDROPPABLE) )
				{
					//case 2 (see above)
					pItem->fFlags |= OBJECT_NO_OVERWRITE;
				}
			}
		}
	}
//Recalculate the "no overwrite" status flag on all items.  There are two different cases:
//1)  If detailed placement has item, the item "no overwrite" flag is set
//2)  If detailed placement doesn't have item, but item is set to drop (forced empty slot),
//    the "no overwrite" flag is set.
Recalculate the "no overwrite" status flag on all items.  There are two different cases:
1)  If detailed placement has item, the item "no overwrite" flag is set
2)  If detailed placement doesn't have item, but item is set to drop (forced empty slot),
the "no overwrite" flag is set.
Recalculate the " no overwrite " status flag on all items . There are two different cases : 1 ) If detailed placement has item the item " no overwrite " flag is set 2 ) If detailed placement doesn ' t have item but item is set to drop ( forced empty slot ) the " no overwrite " flag is set .
CFOR_EACH_SOLDIERINITNODE(curr)
	{
		if( curr->pDetailedPlacement )
		{
			for( i = 0; i < NUM_INV_SLOTS; i++ )
			{
				pItem = &curr->pDetailedPlacement->Inv[ i ];
				if( pItem->usItem != NONE )
				{
					pItem->fFlags |= OBJECT_NO_OVERWRITE;
				}
				else if( !(pItem->fFlags & OBJECT_UNDROPPABLE) )
				{
					pItem->fFlags |= OBJECT_NO_OVERWRITE;
				}
			}
		}
	}
CFOR_EACH_SOLDIERINITNODE ( curr ) { if ( curr -> pDetailedPlacement ) { for ( i = 0 ; i < NUM_INV_SLOTS ; i ++ ) { pItem = & curr -> pDetailedPlacement -> Inv [ i ] ; if ( pItem -> usItem != NONE ) { pItem -> fFlags |= OBJECT_NO_OVERWRITE ; } else if ( ! ( pItem -> fFlags & OBJECT_UNDROPPABLE ) ) { pItem -> fFlags |= OBJECT_NO_OVERWRITE ; } } } }
Recalculate the "no overwrite" status flag on all items.
Recalculate the " no overwrite " status flag on all items .
//case 1 (see above) //case 2 (see above)