Changed: Minor changes

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-19 09:26:46 +01:00
parent bd13cabb13
commit 61b76ad106
2 changed files with 2 additions and 3 deletions

View file

@ -1236,7 +1236,7 @@ void CChatManager::chatParamInGroup( TGroupId& grpId, const std::string & phrase
CMirrorPropValueRO<uint32> instanceId( TheDataset, *itM, DSPropertyAI_INSTANCE );
// check the ai instance for region chat
if (chatGrp.Type != CChatGroup::region
if (chatGrp.Type != CChatGroup::region
|| instanceId == senderInstanceId)
{
const CEntityId &eid = TheDataset.getEntityId(*itM);
@ -1816,7 +1816,7 @@ void CChatManager::tell2( const TDataSetRow& sender, const TDataSetRow& receiver
bms.serial( senderInfos->NameIndex );
bms.serial( id);
msgout.serialBufferWithSize((uint8*)bms.buffer(), bms.length());
CUnifiedNetwork::getInstance()->send(TServiceId(receiverInfos->EntityId.getDynamicId()), msgout);
}

View file

@ -1864,7 +1864,6 @@ void CStringManager::init(NLMISC::CLog *log)
if (_SheetInfo.empty())
{
// std::map<std::string, TSheetInfo> container;
// Load the sheet
std::vector<std::string> exts;
exts.push_back("creature");