- fixed: The newly accelerated mousewheel scrolling code did not check for the end of the list and could scroll one item too far. It also incremented VisBottom by 3 instead of 2.

- changed lock failsound lookup so that for each sound it tries to resolve it as a player sound before deciding if it is valid.

SVN r2830 (trunk)
This commit is contained in:
Christoph Oelckers 2010-09-19 06:34:15 +00:00
commit e1de9f0633
2 changed files with 16 additions and 5 deletions

View file

@ -451,8 +451,12 @@ bool P_CheckKeys (AActor *owner, int keynum, bool remote)
{
if (failsound[i] != 0)
{
S_Sound (owner, CHAN_VOICE, failsound[i], 1, ATTN_NORM);
break;
int snd = S_FindSkinnedSound(owner, failsound[i]);
if (snd != 0)
{
S_Sound (owner, CHAN_VOICE, snd, 1, ATTN_NORM);
break;
}
}
}
}