mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Fix the bug where many kick sounds were started when pressing
HOME or END in the user map selector. Now it's only one. git-svn-id: https://svn.eduke32.com/eduke32@2087 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d37ef521fb
commit
5b48cb1bd6
1 changed files with 6 additions and 0 deletions
|
@ -2116,6 +2116,9 @@ cheat_for_port_credits:
|
|||
{
|
||||
if (currentlist) findfileshigh = seeker;
|
||||
else finddirshigh = seeker;
|
||||
// clear keys, don't play the kick sound a dozen times!
|
||||
KB_ClearKeyDown(sc_End);
|
||||
KB_ClearKeyDown(sc_Home);
|
||||
S_PlaySound(KICK_HIT);
|
||||
}
|
||||
}
|
||||
|
@ -2133,6 +2136,9 @@ cheat_for_port_credits:
|
|||
{
|
||||
if (currentlist) findfileshigh = seeker;
|
||||
else finddirshigh = seeker;
|
||||
// clear keys, don't play the kick sound a dozen times!
|
||||
KB_ClearKeyDown(sc_PgDn);
|
||||
KB_ClearKeyDown(sc_PgUp);
|
||||
S_PlaySound(KICK_HIT);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue