mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 00:53:16 +00:00
- deaddude
This commit is contained in:
parent
bd3346b231
commit
f218b81b05
1 changed files with 15 additions and 13 deletions
|
@ -764,19 +764,21 @@ void premapGonzo(short i) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void deaddude(short sn) {
|
void deaddude(short sn) {
|
||||||
int j = insertsprite(sprite[sn].sectnum, DEAD);
|
auto& spr = sprite[sn];
|
||||||
sprite[j].x = sprite[sn].x;
|
int j = insertsprite(spr.sectnum, DEAD);
|
||||||
sprite[j].y = sprite[sn].y;
|
auto& spawned = sprite[j];
|
||||||
sprite[j].z = sprite[sn].z;
|
spawned.x = spr.x;
|
||||||
sprite[j].cstat = 0;
|
spawned.y = spr.y;
|
||||||
sprite[j].picnum = GONZOBSHDEAD;
|
spawned.z = spr.z;
|
||||||
sprite[j].shade = sector[sprite[sn].sectnum].floorshade;
|
spawned.cstat = 0;
|
||||||
sprite[j].pal = 0;
|
spawned.picnum = GONZOBSHDEAD;
|
||||||
sprite[j].xrepeat = sprite[sn].xrepeat;
|
spawned.shade = sector[spr.sectnum].floorshade;
|
||||||
sprite[j].yrepeat = sprite[sn].yrepeat;
|
spawned.pal = 0;
|
||||||
sprite[j].owner = 0;
|
spawned.xrepeat = spr.xrepeat;
|
||||||
sprite[j].lotag = 0;
|
spawned.yrepeat = spr.yrepeat;
|
||||||
sprite[j].hitag = 0;
|
spawned.owner = 0;
|
||||||
|
spawned.lotag = 0;
|
||||||
|
spawned.hitag = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
END_WH_NS
|
END_WH_NS
|
||||||
|
|
Loading…
Reference in a new issue