mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-25 11:26:37 +00:00 
			
		
		
		
	Add a TODO comment
This commit is contained in:
		
							parent
							
								
									56cd0da522
								
							
						
					
					
						commit
						dd5f4947d7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -912,6 +912,7 @@ bool CharacterController::updateWeaponState() | ||||||
|             else if(mWeaponType == WeapType_PickProbe) |             else if(mWeaponType == WeapType_PickProbe) | ||||||
|             { |             { | ||||||
|                 MWWorld::Ptr item = *weapon; |                 MWWorld::Ptr item = *weapon; | ||||||
|  |                 // TODO: this will only work for the player, and needs to be fixed if NPCs should ever use lockpicks/probes.
 | ||||||
|                 MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getFacedObject(); |                 MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getFacedObject(); | ||||||
|                 std::string resultMessage, resultSound; |                 std::string resultMessage, resultSound; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue