1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 12:40:04 +00:00

Merge remote branch 'greye/cross_cell-borders'

This commit is contained in:
Marc Zinnschlag 2012-08-11 15:08:17 +02:00
commit 380defa52f

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