ship is flying if the system world is uninitialized or the ship doesn't have a location
| 36 | |
| 37 | // ship is flying if the system world is uninitialized or the ship doesn't have a location |
| 38 | bool SystemWorldClient::flying() const { |
| 39 | if (m_ship) |
| 40 | return m_ship->systemLocation().empty(); |
| 41 | return true; |
| 42 | } |
| 43 | |
| 44 | void SystemWorldClient::update(float dt) { |
| 45 | if (!m_ship) |
nothing calls this directly
no test coverage detected