Dosya : shop_manager.h Aratılır ve Altına Eklenir : AddGuest(LPCHARACTER ch, DWORD dwVID); TShopMap GetShopMap() { return m_map_pkShopByPC; } input_main.cpp Aratılır ve Değiştirilir : CEntity::ENTITY_MAP viewmap = ch->GetViewMap(); CEntity::ENTITY_MAP::iterator it = viewmap.begin(); std::vector sendItems; while (it != viewmap.end()) { if (it->first->GetType() != ENTITY_CHARACTER) { ++it; continue; } LPCHARACTER tch = static_cast((it++)->first); if (!tch) continue; if (!tch->GetMyShop() || tch == ch) continue; Değiştirilir : //CEntity::ENTITY_MAP viewmap = ch->GetViewMap(); //CEntity::ENTITY_MAP::iterator it = viewmap.begin(); CShopManager::TShopMap viewmap = CShopManager::instance().GetShopMap(); CShopManager::TShopMap::iterator it = viewmap.begin(); std::vector sendItems; while (it != viewmap.end()) { if (it->second->GetPC() == NULL) { ++it; continue; } LPCHARACTER tch = static_cast((it++)->second->GetPC()); if (!tch) continue; if (!tch->GetMyShop() || tch == ch) continue;