Fix a49fdb7ebb: bootstrap crash when trying to load new baseset (#8353)
				
					
				
			Using nullptr as "name" crashes on "name.empty()". Use an empty string instead.
This commit is contained in:
		| @@ -253,7 +253,7 @@ bool HandleBootstrap() | ||||
| 	if (_exit_game) return false; | ||||
|  | ||||
| 	/* Try to probe the graphics. Should work this time. */ | ||||
| 	if (!BaseGraphics::SetSet(nullptr)) goto failure; | ||||
| 	if (!BaseGraphics::SetSet({})) goto failure; | ||||
|  | ||||
| 	/* Finally we can continue heading for the menu. */ | ||||
| 	_game_mode = GM_MENU; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Patric Stout
					Patric Stout