[Fix] Fixed a nice little seg fault on the MAIN F'ING MENU!!!
This commit is contained in:
		
							parent
							
								
									8e976d5bf9
								
							
						
					
					
						commit
						5b8a9bcbc0
					
				| @ -1538,8 +1538,7 @@ void player_startAutonav(void) { | ||||
|  * @brief Aborts autonav | ||||
|  */ | ||||
| void player_abortAutonav(char* reason) { | ||||
|   /* No point if player is beyond aborting. */ | ||||
|   if(pilot_isFlag(player, PILOT_HYPERSPACE)) | ||||
|   if((player != NULL) && pilot_isFlag(player, PILOT_HYPERSPACE)) | ||||
|     return; | ||||
| 
 | ||||
|   if(player_isFlag(PLAYER_AUTONAV)) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Allanis
						Allanis