I'll take another look but I don't remember seeing it actually being used for anything.
Edit:
Nope. I didn't screw up!
if( !IS_NPC( ch ) && loot && new_corpse && new_corpse->item_type == ITEM_CORPSE_NPC
&& new_corpse->in_room == ch->in_room && can_see_obj( ch, new_corpse ) && ch->position > POS_SLEEPING )
{
/*
* Autogold by Scryn 8/12
*/
if( IS_SET( ch->act, PLR_AUTOGOLD ) && !loot_coins_from_corpse( ch, new_corpse ) )
return rBOTH_DIED;
if( new_corpse && !obj_extracted(new_corpse) && new_corpse->in_room == ch->in_room
&& ch->position > POS_SLEEPING && can_see_obj( ch, new_corpse ) )
{
if( IS_SET( ch->act, PLR_AUTOLOOT ) )
do_get( ch, "all corpse" );
else
do_look( ch, "in corpse" );
if( !char_died(ch) && IS_SET( ch->act, PLR_AUTOSAC ) && !obj_extracted(new_corpse)
&& new_corpse->in_room == ch->in_room && ch->position > POS_SLEEPING
&& can_see_obj( ch, new_corpse ) )
do_sacrifice( ch, "corpse" );
}
}
That's the loot code. Notice that the room variable is never referenced in any of that and that all the room checks are being done through the objects and characters in_room members.
...
Having said that, is snipe allowing you to loot corpses from another room now when it didn't before?