1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

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