mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
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:
parent
eda5300b33
commit
531814ecc4
1 changed files with 4 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue