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

Origin commit data
------------------
Branch: master
Commit: 0dd25ef8fb
Author: TangoCash <eric@loxat.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:
TangoCash
2017-10-18 12:50:34 +02:00
parent a86f297994
commit c192f6a655

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)