mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 21:26:41 +00:00 
			
		
		
		
	fix double pos/rot adjustment
This commit is contained in:
		
							parent
							
								
									355ca649c2
								
							
						
					
					
						commit
						47f7a5e988
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -558,7 +558,9 @@ namespace MWWorld | |||
|                 if (!newCell.isExterior()) { | ||||
|                     changeToInteriorCell(newCell.cell->name, pos); | ||||
|                 } else { | ||||
|                     changeToExteriorCell(pos); | ||||
|                     int cellX = newCell.cell->data.gridX; | ||||
|                     int cellY = newCell.cell->data.gridY; | ||||
|                     mWorldScene->changeCell(cellX, cellY, pos, false); | ||||
|                 } | ||||
|             } else { | ||||
|                 if (!mWorldScene->isCellActive(newCell)) { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue