mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 04:11:18 +00:00
Record attack only linedef exec
This commit is contained in:
parent
18afcda41d
commit
5edfa412cd
1 changed files with 7 additions and 0 deletions
|
@ -1944,6 +1944,7 @@ boolean P_RunTriggerLinedef(line_t *triggerline, mobj_t *actor, sector_t *caller
|
|||
|| specialtype == 318 // Unlockable trigger - Once
|
||||
|| specialtype == 320 // Unlockable - Once
|
||||
|| specialtype == 321 || specialtype == 322 // Trigger on X calls - Continuous + Each Time
|
||||
|| specialtype == 323 // Record attack only - Once
|
||||
|| specialtype == 328 // Encore Load
|
||||
|| specialtype == 399) // Level Load
|
||||
triggerline->special = 0; // Clear it out
|
||||
|
@ -6558,6 +6559,12 @@ void P_SpawnSpecials(INT32 fromnetsave)
|
|||
P_AddEachTimeThinker(§ors[sec], &lines[i]);
|
||||
}
|
||||
break;
|
||||
// Record attack only linedef exec
|
||||
case 323:
|
||||
case 324:
|
||||
if (!modeattacking)
|
||||
lines[i].special = 0;
|
||||
break;
|
||||
|
||||
case 328: // Encore-only linedef execute on map load
|
||||
if (!encoremode)
|
||||
|
|
Loading…
Reference in a new issue