mirror of
				https://github.com/TES3MP/openmw-tes3mp.git
				synced 2025-10-31 17:26:42 +00:00 
			
		
		
		
	Reset path after AiTravel is fast forwarded
Otherwise actor will keep going to the first path point that may be unreachable.
This commit is contained in:
		
							parent
							
								
									1fdc5151ca
								
							
						
					
					
						commit
						4ad04a28f9
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -88,6 +88,7 @@ namespace MWMechanics | |||
|         // that is the user's responsibility
 | ||||
|         MWBase::Environment::get().getWorld()->moveObject(actor, mX, mY, mZ); | ||||
|         actor.getClass().adjustPosition(actor, false); | ||||
|         reset(); | ||||
|     } | ||||
| 
 | ||||
|     void AiTravel::writeState(ESM::AiSequence::AiSequence &sequence) const | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue