mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
disable mouse camera control if non-standard camera used
This commit is contained in:
parent
751489b003
commit
9e817c39ce
4 changed files with 15 additions and 5 deletions
|
|
@ -84,6 +84,12 @@ Hitbox* Player::getHitbox() {
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
bool Player::isCurrentCameraBuiltin() const {
|
||||
return currentCamera.get() == fpCamera.get() ||
|
||||
currentCamera.get() == spCamera.get() ||
|
||||
currentCamera.get() == tpCamera.get();
|
||||
}
|
||||
|
||||
void Player::updateSelectedEntity() {
|
||||
selectedEid = selection.entity;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue