mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 06:12:19 +00:00
- fixed P_LoopSideDefs could crash on the second P_LoopSidedefs call if there were unconnected linedefs in the map.
SVN r2716 (trunk)
This commit is contained in:
parent
ce2c2bd825
commit
610ff3956e
1 changed files with 4 additions and 3 deletions
|
@ -2202,9 +2202,10 @@ static void P_LoopSidedefs (bool firstloop)
|
|||
|
||||
right = sidetemp[right].b.first;
|
||||
|
||||
if (firstloop && right == NO_SIDE)
|
||||
{ // There is no right side!
|
||||
Printf ("Line %d's right edge is unconnected\n", linemap[unsigned(line-lines)]);
|
||||
if (right == NO_SIDE)
|
||||
{
|
||||
// There is no right side!
|
||||
if (firstloop) Printf ("Line %d's right edge is unconnected\n", linemap[unsigned(line-lines)]);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue