Skip to content

Commit

Permalink
fixed running attack for g2 controls (and reset logic of g1 controls …
Browse files Browse the repository at this point in the history
…exactly like it was before)
  • Loading branch information
fenris authored and Try committed Nov 23, 2021
1 parent bda58c4 commit 4e72f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/game/playercontrol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void PlayerControl::onKeyPressed(KeyCodec::Action a, Tempest::KeyEvent::KeyType

if(fk>=0) {
std::memset(actrl,0,sizeof(actrl));
actrl[ActGeneric] = true;
actrl[ActGeneric] = ctrl[KeyCodec::ActionGeneric];
actrl[fk] = true;

ctrl[a] = true;
Expand Down

0 comments on commit 4e72f1e

Please sign in to comment.