mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
refs #642, fixed 2nd issue reported by RW via slack
(assert with default values)
This commit is contained in:
@@ -77,6 +77,11 @@ namespace BlackMisc
|
||||
return m_simulator == 0;
|
||||
}
|
||||
|
||||
bool CSimulatorInfo::isMultipleSimulators() const
|
||||
{
|
||||
return this->numberSimulators() > 1;
|
||||
}
|
||||
|
||||
bool CSimulatorInfo::isAllSimulators() const
|
||||
{
|
||||
return fsx() && fs9() && xplane() && p3d();
|
||||
|
||||
@@ -89,6 +89,9 @@ namespace BlackMisc
|
||||
//! No simulator?
|
||||
bool isNoSimulator() const;
|
||||
|
||||
//! Represents > 1 simulator
|
||||
bool isMultipleSimulators() const;
|
||||
|
||||
//! Is all simulators?
|
||||
bool isAllSimulators() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user