mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-01 14:11:01 +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->z = sector[s->sectnum].floorz - 15168;
|
||||||
s->extra = 0;
|
s->extra = 0;
|
||||||
s->picnum = RRTILE3410;
|
s->picnum = RRTILE3410;
|
||||||
DukeStatIterator itj(STAT_DEFAULT);
|
DukeStatIterator it2(STAT_DEFAULT);
|
||||||
while (auto act2 = it.Next())
|
while (auto act2 = it2.Next())
|
||||||
{
|
{
|
||||||
if (act2->s.picnum == 128)
|
if (act2->s.picnum == 128)
|
||||||
if (act2->s.hitag == 999)
|
if (act2->s.hitag == 999)
|
||||||
|
@ -2502,8 +2502,8 @@ void rr_specialstats()
|
||||||
int p = findplayer(&act->s, &x);
|
int p = findplayer(&act->s, &x);
|
||||||
if (x < 2047)
|
if (x < 2047)
|
||||||
{
|
{
|
||||||
DukeStatIterator itj(108);
|
DukeStatIterator it2(108);
|
||||||
while (auto act2 = it.Next())
|
while (auto act2 = it2.Next())
|
||||||
{
|
{
|
||||||
if (act2->s.picnum == RRTILE297)
|
if (act2->s.picnum == RRTILE297)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue