This bounds check is useless

git-svn-id: https://svn.eduke32.com/eduke32@7161 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-11-18 18:06:53 +00:00
parent 4206cc1786
commit cde7529e39

View file

@ -6141,7 +6141,7 @@ repeatcase:
if (k > g_highestSoundIdx)
g_highestSoundIdx = k;
if (k >= 0 && k < MAXSOUNDS-1 && g_dynamicSoundMapping && j >= 0 && (labeltype[j] & LABEL_DEFINE))
if (g_dynamicSoundMapping && j >= 0 && (labeltype[j] & LABEL_DEFINE))
G_ProcessDynamicSoundMapping(label+(j<<6), k);
continue;