Add No Spread flag for patch finish lines

This commit is contained in:
GenericHeroGuy 2025-06-03 01:09:48 +02:00
parent 10c858186f
commit 1b0ea34476
2 changed files with 3 additions and 1 deletions

View file

@ -13212,7 +13212,8 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
finishline->special = 2001; // Finish Line
finishline->activation = SPAC_CROSS|SPAC_REPEATSPECIAL;
finishline->args[0] = mthing->args[4];
SpreadFinishLine(finishline, NULL, mthing->args[4]);
if (!(mthing->args[4] & TMCFF_NOSPREAD))
SpreadFinishLine(finishline, NULL, mthing->args[4]);
}
}
}

View file

@ -528,6 +528,7 @@ typedef enum
TMCFF_FLIP = 1,
TMCFF_SINGLEUSE = 1<<1,
TMCFF_NEEDSECTOR = 1<<2,
TMCFF_NOSPREAD = 1<<3,
} textmapcrossfinishflags_t;
typedef enum