mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'bot-turns' into 'master'
IMMEDIATELY reduce bot rubberbanding when cornering See merge request kart-krew-dev/ring-racers-internal!2955
This commit is contained in:
		
						commit
						c009236107
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -4077,7 +4077,12 @@ static void K_GetKartBoostPower(player_t *player) | |||
| 	// This should always remain the last boost stack before tethering
 | ||||
| 	if (player->botvars.rubberband > FRACUNIT && K_PlayerUsesBotMovement(player) == true) | ||||
| 	{ | ||||
| 		ADDBOOST(player->botvars.rubberband - FRACUNIT, 0, 0); | ||||
| 		fixed_t rubber = player->botvars.rubberband - FRACUNIT; | ||||
| 
 | ||||
| 		if (!G_CompatLevel(0x0011)) | ||||
| 			rubber = FixedRescale(player->botvars.recentDeflection, 0, BOTMAXDEFLECTION, Easing_Linear, rubber, 8*rubber/10); | ||||
| 
 | ||||
| 		ADDBOOST(rubber, 0, 0); | ||||
| 	} | ||||
| 
 | ||||
| 	if (player->draftpower > 0) // Drafting
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Eidolon
						Eidolon