mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- reordered walltype to reduce its size.
This commit is contained in:
parent
42e02d2956
commit
f7fafabba0
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,6 @@ struct walltype
|
|||
|
||||
// extensions not from the binary map format.
|
||||
angle_t clipangle;
|
||||
double length; // cached value to avoid calling sqrt repeatedly.
|
||||
|
||||
uint16_t portalnum;
|
||||
uint8_t portalflags;
|
||||
|
@ -260,6 +259,7 @@ struct walltype
|
|||
// Blood is the only game which extends the wall struct.
|
||||
Blood::XWALL* _xw;
|
||||
DVector2 baseWall;
|
||||
double length; // cached value to avoid calling sqrt repeatedly.
|
||||
|
||||
int xpan() const { return int(xpan_); }
|
||||
int ypan() const { return int(ypan_); }
|
||||
|
|
Loading…
Reference in a new issue