mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 12:53:51 +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()) {
|
if (!newCell.isExterior()) {
|
||||||
changeToInteriorCell(newCell.cell->name, pos);
|
changeToInteriorCell(newCell.cell->name, pos);
|
||||||
} else {
|
} else {
|
||||||
changeToExteriorCell(pos);
|
int cellX = newCell.cell->data.gridX;
|
||||||
|
int cellY = newCell.cell->data.gridY;
|
||||||
|
mWorldScene->changeCell(cellX, cellY, pos, false);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!mWorldScene->isCellActive(newCell)) {
|
if (!mWorldScene->isCellActive(newCell)) {
|
||||||
|
|
Loading…
Reference in a new issue