mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:56:39 +00:00 
			
		
		
		
	set a default value for --fallback
This commit is contained in:
		
							parent
							
								
									48b7b03453
								
							
						
					
					
						commit
						94a220dcdd
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -267,7 +267,11 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat | |||
|     engine.setCompileAll(variables["script-all"].as<bool>()); | ||||
|     engine.setReportFocus(variables["report-focus"].as<bool>()); | ||||
|     engine.setAnimationVerbose(variables["anim-verbose"].as<bool>()); | ||||
|     engine.setFallbackValues(variables["fallback"].as<FallbackMap>().mMap); | ||||
|      | ||||
|     if(variables.count("fallback")) | ||||
|     { | ||||
|         engine.setFallbackValues(variables["fallback"].as<FallbackMap>().mMap); | ||||
|     } | ||||
| 
 | ||||
|     return true; | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue