mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 08:56:38 +00:00 
			
		
		
		
	Merge pull request #1475 from akortunov/wanderfix
AiWander: reset spawn position, if an actor was moved to another cell
This commit is contained in:
		
						commit
						22222f07ae
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -200,6 +200,7 @@ namespace MWMechanics | |||
|             stopWalking(actor, storage); | ||||
|             currentCell = actor.getCell(); | ||||
|             storage.mPopulateAvailableNodes = true; | ||||
|             mStoredInitialActorPosition = false; | ||||
|         } | ||||
| 
 | ||||
|         mRemainingDuration -= ((duration*MWBase::Environment::get().getWorld()->getTimeScaleFactor()) / 3600); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue