1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-12 21:39:26 +00:00

Fix container scripts not getting re-added when the player changes cells

This commit is contained in:
scrawl 2013-11-22 01:02:12 +01:00
parent b490e56ba1
commit 829512ded4

View File

@ -882,6 +882,7 @@ namespace MWWorld
int cellY = newCell.mCell->getGridY(); int cellY = newCell.mCell->getGridY();
mWorldScene->changeCell(cellX, cellY, pos, false); mWorldScene->changeCell(cellX, cellY, pos, false);
} }
addContainerScripts (ptr, &newCell);
} }
else else
{ {