mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- use wallsofsector in PreMapCombineFloors
This commit is contained in:
parent
6fc43287b3
commit
1b3b8ab7cc
1 changed files with 5 additions and 7 deletions
|
@ -1693,14 +1693,12 @@ void PreMapCombineFloors(void)
|
|||
sprite[j].y += dy;
|
||||
}
|
||||
|
||||
startwall = sector[dasect].wallptr;
|
||||
endwall = startwall + sector[dasect].wallnum;
|
||||
for (j=startwall; j<endwall; j++)
|
||||
for (auto& wal : wallsofsector(dasect))
|
||||
{
|
||||
wall[j].x += dx;
|
||||
wall[j].y += dy;
|
||||
wal.x += dx;
|
||||
wal.y += dy;
|
||||
|
||||
nextsector = wall[j].nextsector;
|
||||
nextsector = wal.nextsector;
|
||||
if (nextsector < 0) continue;
|
||||
|
||||
// make sure its not on the list
|
||||
|
@ -4807,7 +4805,7 @@ getzrangepoint(int x, int y, int z, short sectnum,
|
|||
int j, k, l, dax, day, daz, xspan, yspan, xoff, yoff;
|
||||
int x1, y1, x2, y2, x3, y3, x4, y4, cosang, sinang, tilenum;
|
||||
short cstat;
|
||||
uint8_t clipyou;
|
||||
char clipyou;
|
||||
|
||||
if (sectnum < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue