diff options
author | Ian C <ianc@noddybox.co.uk> | 2020-05-22 19:47:42 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2020-05-22 19:47:42 +0000 |
commit | 192b5413022f97f89261b0e0386e90e90c13e4c8 (patch) | |
tree | 5f8a98028fa65d8021827e51a05e42f93301d586 /galax.c | |
parent | c872f619808a81d4b85784d8afcbd4ca9cec96eb (diff) |
Fixed key bounce in hiscore entry
Diffstat (limited to 'galax.c')
-rw-r--r-- | galax.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1271,7 +1271,7 @@ static XFuncControl ProcessHiScore(void) if ((keymap[LEFT])&&(!bounce)) { - bounce=30; + bounce=10; if (let==hisc_let) let=hisc_let+strlen(hisc_let)-1; else @@ -1280,7 +1280,7 @@ static XFuncControl ProcessHiScore(void) if ((keymap[RIGHT])&&(!bounce)) { - bounce=30; + bounce=10; if (!(*++let)) let=hisc_let; } @@ -1290,11 +1290,11 @@ static XFuncControl ProcessHiScore(void) case FIRE: len++; break; - case NONE: - bounce=0; - break; } + if (!keymap[LEFT] && !keymap[RIGHT] && !keymap[FIRE]) + bounce=0; + if (bounce) bounce--; |