mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Content error messages
This commit is contained in:
parent
dfeb7293b2
commit
abd28514e4
4 changed files with 25 additions and 9 deletions
|
|
@ -171,13 +171,6 @@ void PlayerController::updateKeyboard() {
|
|||
input.cameraMode = Events::jactive(BIND_CAM_MODE);
|
||||
input.noclip = Events::jactive(BIND_PLAYER_NOCLIP);
|
||||
input.flight = Events::jactive(BIND_PLAYER_FLIGHT);
|
||||
|
||||
// block choice
|
||||
for (int i = 1; i < 10; i++){
|
||||
if (Events::jpressed(keycode::NUM_0+i)){
|
||||
player->chosenItem = i;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void PlayerController::updateCamera(float delta, bool movement) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue