- fixed inconsistent use of line_t::portaltransferred.
Some parts used 0 as 'nothing' others used UINT_MAX. 0 should refer to the map's default sky, not to nothing.
This commit is contained in:
parent
71d1138376
commit
cb89a1a81a
5 changed files with 23 additions and 2 deletions
|
|
@ -1824,6 +1824,9 @@ public:
|
|||
{
|
||||
short tempalpha[2] = { SHRT_MIN, SHRT_MIN };
|
||||
|
||||
lines[line].portalindex = UINT_MAX;
|
||||
lines[line].portaltransferred = UINT_MAX;
|
||||
|
||||
lines[line] = ParsedLines[line];
|
||||
|
||||
for(int sd = 0; sd < 2; sd++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue