mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- replaced a few array accesses where a pointer is already available.
This commit is contained in:
parent
87e4c0fa7d
commit
42e5201e9f
3 changed files with 8 additions and 8 deletions
|
@ -1334,12 +1334,12 @@ void checkhitsprite_d(int i, int sn)
|
||||||
fi.shoot(i, BLOODSPLAT3);
|
fi.shoot(i, BLOODSPLAT3);
|
||||||
s->ang = krand() & 2047;
|
s->ang = krand() & 2047;
|
||||||
fi.shoot(i, BLOODSPLAT4);
|
fi.shoot(i, BLOODSPLAT4);
|
||||||
fi.guts(&sprite[i], JIBS1, 1, myconnectindex);
|
fi.guts(s, JIBS1, 1, myconnectindex);
|
||||||
fi.guts(&sprite[i], JIBS2, 2, myconnectindex);
|
fi.guts(s, JIBS2, 2, myconnectindex);
|
||||||
fi.guts(&sprite[i], JIBS3, 3, myconnectindex);
|
fi.guts(s, JIBS3, 3, myconnectindex);
|
||||||
fi.guts(&sprite[i], JIBS4, 4, myconnectindex);
|
fi.guts(s, JIBS4, 4, myconnectindex);
|
||||||
fi.guts(&sprite[i], JIBS5, 1, myconnectindex);
|
fi.guts(s, JIBS5, 1, myconnectindex);
|
||||||
fi.guts(&sprite[i], JIBS3, 6, myconnectindex);
|
fi.guts(s, JIBS3, 6, myconnectindex);
|
||||||
S_PlaySound(SQUISHED);
|
S_PlaySound(SQUISHED);
|
||||||
deletesprite(i);
|
deletesprite(i);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1040,7 +1040,7 @@ int spawn_d(int j, int pn)
|
||||||
case CONE:
|
case CONE:
|
||||||
case BOX:
|
case BOX:
|
||||||
sp->cstat = 257; // Make it hitable
|
sp->cstat = 257; // Make it hitable
|
||||||
sprite[i].extra = 1;
|
sp->extra = 1;
|
||||||
changespritestat(i,6);
|
changespritestat(i,6);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -1320,7 +1320,7 @@ int spawn_r(int j, int pn)
|
||||||
case TREE2:
|
case TREE2:
|
||||||
case TIRE:
|
case TIRE:
|
||||||
sp->cstat = 257; // Make it hitable
|
sp->cstat = 257; // Make it hitable
|
||||||
sprite[i].extra = 1;
|
sp->extra = 1;
|
||||||
changespritestat(i,6);
|
changespritestat(i,6);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue