fix double pos/rot adjustment

This commit is contained in:
greye 2012-08-11 17:01:55 +04:00
parent 355ca649c2
commit 47f7a5e988

View file

@ -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)) {