mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
fix mikesnd
git-svn-id: https://svn.eduke32.com/eduke32@1837 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b158521449
commit
e17a4834eb
1 changed files with 2 additions and 1 deletions
|
@ -940,7 +940,8 @@ skip_check:
|
|||
continue;
|
||||
|
||||
case CON_MIKESND:
|
||||
if (((unsigned)*(++insptr) >= MAXSOUNDS))
|
||||
insptr++;
|
||||
if (((unsigned)vm.g_sp->yvel >= MAXSOUNDS))
|
||||
{
|
||||
OSD_Printf(CON_ERROR "Invalid sound %d\n",g_errorLineNum,keyw[g_tw],vm.g_sp->yvel);
|
||||
insptr++;
|
||||
|
|
Loading…
Reference in a new issue