| 1998 | } |
| 1999 | |
| 2000 | void Player::onCameraScopeQuery(NetConnection *connection, CameraScopeQuery *query) |
| 2001 | { |
| 2002 | // First, we are certainly in scope, and whatever we're riding is too... |
| 2003 | if(mControlObject.isNull() || mControlObject == mMount.object) |
| 2004 | Parent::onCameraScopeQuery(connection, query); |
| 2005 | else |
| 2006 | { |
| 2007 | connection->objectInScope(this); |
| 2008 | if (isMounted()) |
| 2009 | connection->objectInScope(mMount.object); |
| 2010 | mControlObject->onCameraScopeQuery(connection, query); |
| 2011 | } |
| 2012 | } |
| 2013 | |
| 2014 | ShapeBase* Player::getControlObject() |
| 2015 | { |
nothing calls this directly
no test coverage detected