mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 02:53:43 +02:00
Fix build warnings
This commit is contained in:
parent
545c2591e3
commit
1c4bde3e84
2 changed files with 2 additions and 2 deletions
|
@ -3307,7 +3307,7 @@ float MyAvatar::getRawDriveKey(DriveKeys key) const {
|
|||
}
|
||||
|
||||
void MyAvatar::relayDriveKeysToCharacterController() {
|
||||
if (getDriveKey(TRANSLATE_Y) > 0.0f && (!qApp->isHMDMode() || useAdvancedMovementControls() && getFlyingHMDPref())) {
|
||||
if (getDriveKey(TRANSLATE_Y) > 0.0f && (!qApp->isHMDMode() || (useAdvancedMovementControls() && getFlyingHMDPref()))) {
|
||||
_characterController.jump();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -346,7 +346,7 @@ public:
|
|||
: BoolPreference(category, name, getter, setter) { }
|
||||
Type getType() override { return Checkbox; }
|
||||
|
||||
const bool getIndented() { return _isIndented; }
|
||||
bool getIndented() { return _isIndented; }
|
||||
void setIndented(const bool indented) { _isIndented = indented; }
|
||||
protected:
|
||||
bool _isIndented { false };
|
||||
|
|
Loading…
Reference in a new issue