mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Record attack only linedef exec
This commit is contained in:
		
							parent
							
								
									29781688e8
								
							
						
					
					
						commit
						e2aeabec1b
					
				
					 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…
	
	Add table
		
		Reference in a new issue