pausa & readme hotfix
This commit is contained in:
parent
f182d30f14
commit
a9193ae4d9
@ -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,6 +39,7 @@ Level::~Level(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Level::update(float delta, bool updatePlayer, bool interactions) {
|
void Level::update(float delta, bool updatePlayer, bool interactions) {
|
||||||
|
if (updatePlayer)
|
||||||
playerController->update_controls(delta, updatePlayer);
|
playerController->update_controls(delta, updatePlayer);
|
||||||
if (interactions) {
|
if (interactions) {
|
||||||
playerController->update_interaction();
|
playerController->update_interaction();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user