Add No Spread flag for patch finish lines
This commit is contained in:
parent
10c858186f
commit
1b0ea34476
2 changed files with 3 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue