Skip to content

Commit 4a2f1b3

Browse files
committed
Change hotkey for Human AI cheat to F6
F10 is used by the settings dialog now. F7 is already a cheat key so reuse that.
1 parent 0933eed commit 4a2f1b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

libs/s25main/CheatCommandTracker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void CheatCommandTracker::onSpecialKeyEvent(const KeyEvent& ke)
5757

5858
switch(ke.kt)
5959
{
60+
case KeyType::F6: cheats_.toggleHumanAIPlayer(); break;
6061
case KeyType::F7:
6162
{
6263
if(ke.alt)
@@ -65,7 +66,6 @@ void CheatCommandTracker::onSpecialKeyEvent(const KeyEvent& ke)
6566
cheats_.toggleAllVisible();
6667
}
6768
break;
68-
case KeyType::F10: cheats_.toggleHumanAIPlayer(); break;
6969
default: break;
7070
}
7171
}

0 commit comments

Comments
 (0)