mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 20:26:43 +00:00 
			
		
		
		
	bugfix
This commit is contained in:
		
							parent
							
								
									2d84f7d33d
								
							
						
					
					
						commit
						12d8b4e0f8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -31,7 +31,7 @@ namespace MWMechanics | |||
| 
 | ||||
|     bool AiCombat::execute (const MWWorld::Ptr& actor) | ||||
|     { | ||||
|         const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();//MWBase::Environment::get().getWorld()->getPtr(mTargetId, false);
 | ||||
|         const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->getPtr(mTargetId, false); | ||||
| 
 | ||||
|         if(actor.getTypeName() == typeid(ESM::NPC).name()) | ||||
|         { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue