mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +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;
|
right = sidetemp[right].b.first;
|
||||||
|
|
||||||
if (firstloop && right == NO_SIDE)
|
if (right == NO_SIDE)
|
||||||
{ // There is no right side!
|
{
|
||||||
Printf ("Line %d's right edge is unconnected\n", linemap[unsigned(line-lines)]);
|
// There is no right side!
|
||||||
|
if (firstloop) Printf ("Line %d's right edge is unconnected\n", linemap[unsigned(line-lines)]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue