mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 18:56:38 +00:00 
			
		
		
		
	Merge branch 'fixstupidtypo' into 'master'
Fix misplaced dummies (#5752) Closes #5752 See merge request OpenMW/openmw!483
This commit is contained in:
		
						commit
						eb6dad1a93
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1345,7 +1345,7 @@ namespace MWWorld | |||
|         } | ||||
| 
 | ||||
|         const float terrainHeight = ptr.getCell()->isExterior() ? getTerrainHeightAt(pos) : -std::numeric_limits<float>::max(); | ||||
|         pos.z() = std::max(pos.z(), terrainHeight + 20); // place slightly above terrain. will snap down to ground with code below
 | ||||
|         pos.z() = std::max(pos.z(), terrainHeight) + 20; // place slightly above terrain. will snap down to ground with code below
 | ||||
| 
 | ||||
|         // We still should trace down dead persistent actors - they do not use the "swimdeath" animation.
 | ||||
|         bool swims = ptr.getClass().isActor() && isSwimming(ptr) && !(ptr.getClass().isPersistent(ptr) && ptr.getClass().getCreatureStats(ptr).isDeathAnimationFinished()); | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue