mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 12:21:19 +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 == 318 // Unlockable trigger - Once
|
||||||
|| specialtype == 320 // Unlockable - Once
|
|| specialtype == 320 // Unlockable - Once
|
||||||
|| specialtype == 321 || specialtype == 322 // Trigger on X calls - Continuous + Each Time
|
|| specialtype == 321 || specialtype == 322 // Trigger on X calls - Continuous + Each Time
|
||||||
|
|| specialtype == 323 // Record attack only - Once
|
||||||
|| specialtype == 328 // Encore Load
|
|| specialtype == 328 // Encore Load
|
||||||
|| specialtype == 399) // Level Load
|
|| specialtype == 399) // Level Load
|
||||||
triggerline->special = 0; // Clear it out
|
triggerline->special = 0; // Clear it out
|
||||||
|
@ -6558,6 +6559,12 @@ void P_SpawnSpecials(INT32 fromnetsave)
|
||||||
P_AddEachTimeThinker(§ors[sec], &lines[i]);
|
P_AddEachTimeThinker(§ors[sec], &lines[i]);
|
||||||
}
|
}
|
||||||
break;
|
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
|
case 328: // Encore-only linedef execute on map load
|
||||||
if (!encoremode)
|
if (!encoremode)
|
||||||
|
|
Loading…
Reference in a new issue