From 47f7a5e988a32b823476d26dd7c384789bb82487 Mon Sep 17 00:00:00 2001 From: greye Date: Sat, 11 Aug 2012 17:01:55 +0400 Subject: [PATCH] fix double pos/rot adjustment --- apps/openmw/mwworld/worldimp.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index 605858eaf..33eebc307 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -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)) {