1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 17:07:40 +00:00

other changes in 9.4n

This commit is contained in:
Zeno Rogue
2017-06-18 18:52:15 +02:00
parent b172d3930d
commit 7c66469394
5 changed files with 207 additions and 39 deletions

View File

@@ -503,9 +503,10 @@ void pressaction(int id) {
bool notremapped(int sym) {
int k = vid.scfg.keyaction[sym];
if(k == 0) return true;
k /= 16;
if(k > 3) k--; else if(k==3) k = 2;
return k <= multi::players;
if(k > 3) k--; else if(k==3) k = 0;
return k > multi::players;
}
void handleInput(int delta) {