| 1601 | } |
| 1602 | |
| 1603 | bool ShapeBase::isFirstPerson() const |
| 1604 | { |
| 1605 | // Always first person as far as the server is concerned. |
| 1606 | if (!isGhost()) |
| 1607 | return true; |
| 1608 | |
| 1609 | if (const GameConnection* con = getControllingClient()) |
| 1610 | return con->getControlObject() == this && con->isFirstPerson(); |
| 1611 | return false; |
| 1612 | } |
| 1613 | |
| 1614 | bool ShapeBase::isValidCameraFov(F32 fov) |
| 1615 | { |
no test coverage detected