From 92b8ac26c094edc6e9a31ca4fd5c508039108027 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 2 Jan 2010 13:17:47 +0000 Subject: [PATCH] - fixed: Polyobjects could contain segs that weren't flagged as such. SVN r2081 (trunk) --- docs/rh-log.txt | 1 + src/po_man.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 2c7c7eaeb..bfae5c120 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 37faf119a..8ed58cf8c 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) {