ca_ci: in some situations missing scambled flag (thx DboxOldie)

Origin commit data
------------------
Branch: master
Commit: fd64d23383
Author: max_10 <max_10@gmx.de>
Date: 2017-10-18 (Wed, 18 Oct 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2017-10-18 12:54:19 +02:00
parent 3c22c04364
commit d91f27c9e4

View File

@@ -692,14 +692,20 @@ SlotIt cCA::FindFreeSlot(u64 TP, u8 source, u16 SID, ca_map_t camap, unsigned ch
for (int j = 0; j < CI_MAX_MULTI; j++)
{
if ((*it)->TP == TP && (*it)->SID[j] == SID && (*it)->source == source)
{
(*it)->scrambled = scrambled;
return it;
}
}
}
for (it = slot_data.begin(); it != slot_data.end(); ++it)
{
if ((*it)->multi && (*it)->TP == TP && (*it)->source == source && (*it)->ci_use_count < CI_MAX_MULTI)
return it;
{
(*it)->scrambled = scrambled;
return it;
}
}
for (it = slot_data.begin(); it != slot_data.end(); ++it)