Mapster32: on TROR point insertion, mark more points.

This fixes a bug reported by Micky C on 2016-01-11 where too
few points were marked to be inserted. See AMC TC SVN r2308.

git-svn-id: https://svn.eduke32.com/eduke32@5811 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2016-07-04 14:09:08 +00:00
parent eda5300b33
commit 531814ecc4

View file

@ -2981,6 +2981,10 @@ static int32_t M32_InsertPoint(int32_t thewall, int32_t dax, int32_t day, int32_
M32_MarkPointInsertion(thewall);
for (int32_t i=0; i < numwalls; i++)
if (wall[i].cstat&(1<<14))
M32_MarkPointInsertion(i);
j = 0;
for (i=0; i<numwalls; i++)
j += !!(wall[i].cstat&(1<<14));