add sf_cheats support
This commit is contained in:
		
							parent
							
								
									2aa46c72ec
								
							
						
					
					
						commit
						6015681eaa
					
				|  | @ -1026,7 +1026,7 @@ void() ClientDisconnect = { | |||
| }; | ||||
| 
 | ||||
| void() cheat = { | ||||
| 	if(deathmatch || coop) { | ||||
| 	if((deathmatch || coop) && !(temp1flag & SF_CHEATS)) { | ||||
| 		return; | ||||
| 	} | ||||
| 
 | ||||
|  | @ -1051,7 +1051,7 @@ void() cheat = { | |||
| }; | ||||
| 
 | ||||
| void() cheat_quad = { | ||||
| 	if(deathmatch || coop) { | ||||
| 	if((deathmatch || coop) && !(temp1flag & SF_CHEATS)) { | ||||
| 		return; | ||||
| 	} | ||||
| 
 | ||||
|  |  | |||
|  | @ -118,9 +118,8 @@ float(entity e, float healamount, float ignore) T_Heal = { | |||
| 
 | ||||
| /*QUAKED item_health(.3 .3 1) (0 0 0) (32 32 32) rotten megahealth | ||||
| Health box. Normally gives 25 points. | ||||
| Rotten box heals 5-10 points, | ||||
| megahealth will add 100 health, then | ||||
| rot you down to your maximum health limit, | ||||
| Rotten box heals 15 points, | ||||
| Megahealth will add 100 health, then rot you down to your maximum health limit, | ||||
| one point per second. | ||||
| */ | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user