diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-02-17 15:44:31 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-02-17 15:44:31 +0700 |
| commit | 2c44d2e60bb83d333b7d80c935f9578b4f11522a (patch) | |
| tree | c0ffa1fbdfbfd3eb095046b5c9da7e76eef80ce6 /src/GameLoop.cpp | |
| parent | 18e53fb4b9d77a457c6a9aebc38c5dd0f1519689 (diff) | |
| download | blackshades-2c44d2e60bb83d333b7d80c935f9578b4f11522a.tar.gz | |
Make laser always and only availble in 3rd person
This breaks configuration backward compatibility.
Diffstat (limited to 'src/GameLoop.cpp')
| -rw-r--r-- | src/GameLoop.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GameLoop.cpp b/src/GameLoop.cpp index f174e70..0cfe3ef 100644 --- a/src/GameLoop.cpp +++ b/src/GameLoop.cpp @@ -59,8 +59,6 @@ void handleKey(Game* game, int key, int action, int mods) alSourcef(gSourceID[mainmenusong], AL_MIN_GAIN, 0); alSourcePlay(gSourceID[game->whichsong]); alSourcef(gSourceID[game->whichsong], AL_MIN_GAIN, 1); - } else if (key == keymap.laser_sight) { - game->lasersight ^= 1; } else if (key == keymap.dive) { if (player.playerrotation == player.playerlowrotation && player.targetanimation == joganim |
