From 531814ecc48e91f9b4e2856dca901c9381c7ae7d Mon Sep 17 00:00:00 2001 From: helixhorned Date: Mon, 4 Jul 2016 14:09:08 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/build.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index 551cca14c..17aadb662 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -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