| 2011 | } |
| 2012 | |
| 2013 | void Player::onCameraScopeQuery(NetConnection *connection, CameraScopeQuery *query) |
| 2014 | { |
| 2015 | // First, we are certainly in scope, and whatever we're riding is too... |
| 2016 | if(mControlObject.isNull() || mControlObject == mMount.object) |
| 2017 | Parent::onCameraScopeQuery(connection, query); |
| 2018 | else |
| 2019 | { |
| 2020 | connection->objectInScope(this); |
| 2021 | if (isMounted()) |
| 2022 | connection->objectInScope(mMount.object); |
| 2023 | mControlObject->onCameraScopeQuery(connection, query); |
| 2024 | } |
| 2025 | } |
| 2026 | |
| 2027 | ShapeBase* Player::getControlObject() |
| 2028 | { |
nothing calls this directly
no test coverage detected