mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 14:15:35 +08:00
[AFV] Ref T739, fix for tuned in/out sounds
see https://discordapp.com/channels/539048679160676382/568904623151382546/636639367804485643
This commit is contained in:
@@ -289,11 +289,11 @@ namespace BlackCore
|
|||||||
}
|
}
|
||||||
|
|
||||||
// remember if I was tuned in, abusing the flag
|
// remember if I was tuned in, abusing the flag
|
||||||
lastCom1.setReceiveEnabled(tunedIn1);
|
com1.setReceiveEnabled(atcCom1);
|
||||||
lastCom2.setReceiveEnabled(tunedIn2);
|
com2.setReceiveEnabled(atcCom2);
|
||||||
QWriteLocker l(&m_lockAircraft);
|
QWriteLocker l(&m_lockAircraft);
|
||||||
m_lastEvaluatedCom1 = lastCom1;
|
m_lastEvaluatedCom1 = com1;
|
||||||
m_lastEvaluatedCom2 = lastCom2;
|
m_lastEvaluatedCom2 = com1;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CContextOwnAircraft::updateOwnSituation(const CAircraftSituation &situation)
|
bool CContextOwnAircraft::updateOwnSituation(const CAircraftSituation &situation)
|
||||||
|
|||||||
Reference in New Issue
Block a user