- renamed some variables.

This commit is contained in:
Christoph Oelckers 2020-11-01 08:14:40 +01:00
parent 2dd2ba1469
commit a6468970c6

View file

@ -3111,23 +3111,23 @@ void handle_se30(int i, int JIBS6)
int j; int j;
while ((j = its.NextIndex()) >= 0) while ((j = its.NextIndex()) >= 0)
{ {
auto sprj = &sprite[j]; auto spa2 = &sprite[j];
auto htj = &hittype[j]; auto a2 = &hittype[j];
if (sprj->picnum != SECTOREFFECTOR && sprj->picnum != LOCATORS) if (spa2->picnum != SECTOREFFECTOR && spa2->picnum != LOCATORS)
{ {
if (numplayers < 2) if (numplayers < 2)
{ {
htj->bposx = sprj->x; a2->bposx = spa2->x;
htj->bposy = sprj->y; a2->bposy = spa2->y;
} }
sprj->x += l; spa2->x += l;
sprj->y += x; spa2->y += x;
if (numplayers > 1) if (numplayers > 1)
{ {
htj->bposx = sprj->x; a2->bposx = spa2->x;
htj->bposy = sprj->y; a2->bposy = spa2->y;
} }
} }
} }