mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
- fixed: Polyobjects could contain segs that weren't flagged as such.
SVN r2081 (trunk)
This commit is contained in:
parent
435861d671
commit
92b8ac26c0
2 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
January 2, 2010 (Changes by Graf Zahl)
|
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
|
- fixed: Trying to show a popup crashed in the SBARINFO code because of a
|
||||||
missing NULL pointer check.
|
missing NULL pointer check.
|
||||||
- fixed: The ACS thinker needs its own statnum above all actors. Otherwise
|
- fixed: The ACS thinker needs its own statnum above all actors. Otherwise
|
||||||
|
|
|
@ -1545,6 +1545,7 @@ static void TranslateToStartSpot (int tag, int originX, int originY)
|
||||||
validcount++;
|
validcount++;
|
||||||
for (i = 0; i < po->numsegs; i++, tempSeg++, tempPt++)
|
for (i = 0; i < po->numsegs; i++, tempSeg++, tempPt++)
|
||||||
{
|
{
|
||||||
|
(*tempSeg)->bPolySeg = true; // this is not set for all segs
|
||||||
(*tempSeg)->sidedef->Flags |= WALLF_POLYOBJ;
|
(*tempSeg)->sidedef->Flags |= WALLF_POLYOBJ;
|
||||||
if ((*tempSeg)->linedef->validcount != validcount)
|
if ((*tempSeg)->linedef->validcount != validcount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue