mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-29 03:26:38 +00:00 
			
		
		
		
	Fix improper handling of multiple AiFollow packages with the same target (Fixes #3077)
This commit is contained in:
		
							parent
							
								
									64424e7262
								
							
						
					
					
						commit
						a7e0562e1c
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -1333,8 +1333,7 @@ namespace MWMechanics | ||||||
|                         continue; |                         continue; | ||||||
|                     if (followTarget == actor) |                     if (followTarget == actor) | ||||||
|                         list.push_back(static_cast<MWMechanics::AiFollow*>(*it)->getFollowIndex()); |                         list.push_back(static_cast<MWMechanics::AiFollow*>(*it)->getFollowIndex()); | ||||||
|                     else |                     break; | ||||||
|                         break; |  | ||||||
|                 } |                 } | ||||||
|                 else if ((*it)->getTypeId() != MWMechanics::AiPackage::TypeIdCombat) |                 else if ((*it)->getTypeId() != MWMechanics::AiPackage::TypeIdCombat) | ||||||
|                     break; |                     break; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue