mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
sector.c: in ST9 handling code, prevent oob for improperly constructed doors.
git-svn-id: https://svn.eduke32.com/eduke32@4203 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
dd52afbf1b
commit
0f6e22e20e
1 changed files with 3 additions and 0 deletions
|
@ -569,6 +569,9 @@ void G_OperateSectors(int32_t sn, int32_t ii)
|
|||
else wallfind[1] = i;
|
||||
}
|
||||
|
||||
if (wallfind[1] == -1)
|
||||
return;
|
||||
|
||||
for (j=0; j<2; j++)
|
||||
{
|
||||
if ((wall[wallfind[j]].x == dax) && (wall[wallfind[j]].y == day))
|
||||
|
|
Loading…
Reference in a new issue