mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'wallspike-crash-fix' into 'master'
Add player pointer check in wall spike bounce Closes #397 See merge request kart-krew-dev/ring-racers!78
This commit is contained in:
		
						commit
						c2c3ae63a7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1275,7 +1275,7 @@ boolean K_KartSolidBounce(mobj_t *bounceMobj, mobj_t *solidMobj) | |||
| 
 | ||||
| 	if (solidMobj->type == MT_WALLSPIKE) | ||||
| 	{ | ||||
| 		if (bounceMobj->hitlag) | ||||
| 		if (bounceMobj->player && bounceMobj->hitlag) | ||||
| 		{ | ||||
| 			bounceMobj->player->justbumped = bumptime; | ||||
| 			return false; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon