diff options
author | Wuzzy <wuzzy2@mail.ru> | 2021-02-24 10:45:30 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 11:45:30 +0100 |
commit | 827224635bc131dbf4f6e41dd3d78c7a2d94da0f (patch) | |
tree | 57963040d80122de7934707e3626c8d65f88ce18 /src/client/game.cpp | |
parent | 02d64a51ee185722ec1b6e2941b461bacf0db0de (diff) | |
download | minetest-827224635bc131dbf4f6e41dd3d78c7a2d94da0f.tar.gz minetest-827224635bc131dbf4f6e41dd3d78c7a2d94da0f.tar.bz2 minetest-827224635bc131dbf4f6e41dd3d78c7a2d94da0f.zip |
Use "Aux1" key name consistently everywhere
Diffstat (limited to 'src/client/game.cpp')
-rw-r--r-- | src/client/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/game.cpp b/src/client/game.cpp index 3c58fb46f..d4e2fe7c3 100644 --- a/src/client/game.cpp +++ b/src/client/game.cpp @@ -2415,7 +2415,7 @@ void Game::updatePlayerControl(const CameraOrientation &cam) input->isKeyDown(KeyType::LEFT), input->isKeyDown(KeyType::RIGHT), isKeyDown(KeyType::JUMP), - isKeyDown(KeyType::SPECIAL1), + isKeyDown(KeyType::AUX1), isKeyDown(KeyType::SNEAK), isKeyDown(KeyType::ZOOM), isKeyDown(KeyType::DIG), @@ -2432,7 +2432,7 @@ void Game::updatePlayerControl(const CameraOrientation &cam) ( (u32)(isKeyDown(KeyType::LEFT) & 0x1) << 2) | ( (u32)(isKeyDown(KeyType::RIGHT) & 0x1) << 3) | ( (u32)(isKeyDown(KeyType::JUMP) & 0x1) << 4) | - ( (u32)(isKeyDown(KeyType::SPECIAL1) & 0x1) << 5) | + ( (u32)(isKeyDown(KeyType::AUX1) & 0x1) << 5) | ( (u32)(isKeyDown(KeyType::SNEAK) & 0x1) << 6) | ( (u32)(isKeyDown(KeyType::DIG) & 0x1) << 7) | ( (u32)(isKeyDown(KeyType::PLACE) & 0x1) << 8) | |