mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed 2 bad iterators.
This commit is contained in:
parent
0c2a7de550
commit
a31a19d430
1 changed files with 4 additions and 4 deletions
|
@ -2365,8 +2365,8 @@ void rr_specialstats()
|
|||
s->z = sector[s->sectnum].floorz - 15168;
|
||||
s->extra = 0;
|
||||
s->picnum = RRTILE3410;
|
||||
DukeStatIterator itj(STAT_DEFAULT);
|
||||
while (auto act2 = it.Next())
|
||||
DukeStatIterator it2(STAT_DEFAULT);
|
||||
while (auto act2 = it2.Next())
|
||||
{
|
||||
if (act2->s.picnum == 128)
|
||||
if (act2->s.hitag == 999)
|
||||
|
@ -2502,8 +2502,8 @@ void rr_specialstats()
|
|||
int p = findplayer(&act->s, &x);
|
||||
if (x < 2047)
|
||||
{
|
||||
DukeStatIterator itj(108);
|
||||
while (auto act2 = it.Next())
|
||||
DukeStatIterator it2(108);
|
||||
while (auto act2 = it2.Next())
|
||||
{
|
||||
if (act2->s.picnum == RRTILE297)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue