mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 13:55:36 +08:00
Ref T270, unified some function names in CAircraftParts and set default timestamp values in parts when guessing
This commit is contained in:
@@ -77,6 +77,8 @@ namespace BlackMisc
|
||||
CAircraftParts CAircraftParts::guessedParts(const CAircraftSituation &situation, const CAircraftSituationChange &change, const CAircraftModel &model)
|
||||
{
|
||||
CAircraftParts parts;
|
||||
parts.setMSecsSinceEpoch(situation.getMSecsSinceEpoch());
|
||||
parts.setTimeOffsetMs(situation.getTimeOffsetMs());
|
||||
parts.setPartsDetails(GuessedParts);
|
||||
parts.setLights(CAircraftLights::guessedLights(situation));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user