diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 2c7c7eaeb2..bfae5c120b 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ January 2, 2010 (Changes by Graf Zahl) +- fixed: Polyobjects could contain segs that weren't flagged as such. - fixed: Trying to show a popup crashed in the SBARINFO code because of a missing NULL pointer check. - fixed: The ACS thinker needs its own statnum above all actors. Otherwise diff --git a/src/po_man.cpp b/src/po_man.cpp index 37faf119a1..8ed58cf8cd 100644 --- a/src/po_man.cpp +++ b/src/po_man.cpp @@ -1545,6 +1545,7 @@ static void TranslateToStartSpot (int tag, int originX, int originY) validcount++; for (i = 0; i < po->numsegs; i++, tempSeg++, tempPt++) { + (*tempSeg)->bPolySeg = true; // this is not set for all segs (*tempSeg)->sidedef->Flags |= WALLF_POLYOBJ; if ((*tempSeg)->linedef->validcount != validcount) {