engine/actions/source/PickupAction.cpp
// Handle the case where we're trying to pick up on the world map, which is an invalid case.
Handle the case where we're trying to pick up on the world map, which is an invalid case.
Handle the case where we ' re trying to pick up on the world map which is an invalid case .
void PickupAction::handle_world_map_pickup(CreaturePtr creature)
{
  IMessageManager& manager = MM::instance(MessageTransmit::SELF, creature, creature && creature->get_is_player());
  if (creature && creature->get_is_player())
  {
    string pick_up_not_allowed = StringTable::get(ActionTextKeys::ACTION_PICK_UP_NOT_ALLOWED);
    manager.add_new_message(pick_up_not_allowed);
    manager.send();
  }
}
void PickupAction :: handle_world_map_pickup ( CreaturePtr creature ) { IMessageManager & manager = MM :: instance ( MessageTransmit :: SELF , creature , creature && creature -> get_is_player ( ) ) ; if ( creature && creature -> get_is_player ( ) ) { string pick_up_not_allowed = StringTable :: get ( ActionTextKeys :: ACTION_PICK_UP_NOT_ALLOWED ) ; manager . add_new_message ( pick_up_not_allowed ) ; manager . send ( ) ; } }
Handle the case where we're trying to pick up on the world map, which is an invalid case.
Handle the case where we ' re trying to pick up on the world map which is an invalid case .