- 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:
Christoph Oelckers 2017-01-08 14:59:31 +01:00
commit cb89a1a81a
5 changed files with 23 additions and 2 deletions

View file

@ -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++)