mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	Do not allow to use quick keys during chargen
This commit is contained in:
		
							parent
							
								
									1bddbbcfa0
								
							
						
					
					
						commit
						7cb6a9c1e9
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -1312,6 +1312,9 @@ namespace MWInput | |||
|         if (!checkAllowedToUseItems()) | ||||
|             return; | ||||
| 
 | ||||
|         if (MWBase::Environment::get().getWorld()->getGlobalFloat ("chargenstate")!=-1) | ||||
|             return; | ||||
| 
 | ||||
|         if (!MWBase::Environment::get().getWindowManager()->isGuiMode()) | ||||
|             MWBase::Environment::get().getWindowManager()->activateQuickKey (index); | ||||
|     } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue