mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 06:51:51 +00:00
pausa & readme hotfix
This commit is contained in:
parent
f182d30f14
commit
a9193ae4d9
2 changed files with 2 additions and 2 deletions
|
|
@ -11,7 +11,6 @@
|
||||||
- <kbd>**RMB**</kbd> - place block
|
- <kbd>**RMB**</kbd> - place block
|
||||||
- <kbd>**F**</kbd> - toggle flight mode
|
- <kbd>**F**</kbd> - toggle flight mode
|
||||||
- <kbd>**N**</kbd> - noclip mode
|
- <kbd>**N**</kbd> - noclip mode
|
||||||
- <kbd>**Esc**</kbd> - exit
|
|
||||||
|
|
||||||
#### Build with CMake
|
#### Build with CMake
|
||||||
```sh
|
```sh
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,8 @@ Level::~Level(){
|
||||||
}
|
}
|
||||||
|
|
||||||
void Level::update(float delta, bool updatePlayer, bool interactions) {
|
void Level::update(float delta, bool updatePlayer, bool interactions) {
|
||||||
playerController->update_controls(delta, updatePlayer);
|
if (updatePlayer)
|
||||||
|
playerController->update_controls(delta, updatePlayer);
|
||||||
if (interactions) {
|
if (interactions) {
|
||||||
playerController->update_interaction();
|
playerController->update_interaction();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue