mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- SW: fixed bad sector iterator in DriveCrush.
This was causing spurious crashes. Fixes #218
This commit is contained in:
parent
3713cb0f09
commit
b3988165e2
1 changed files with 1 additions and 1 deletions
|
@ -2639,7 +2639,7 @@ DriveCrush(PLAYERp pp, int *x, int *y)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// main sector
|
// main sector
|
||||||
SectIterator it(StatDamageList[sop->op_main_sector]);
|
SectIterator it(sop->op_main_sector);
|
||||||
while ((i = it.NextIndex()) >= 0)
|
while ((i = it.NextIndex()) >= 0)
|
||||||
{
|
{
|
||||||
sp = &sprite[i];
|
sp = &sprite[i];
|
||||||
|
|
Loading…
Reference in a new issue