zinnschlag/openmw — pull request #537 by wheybags (2013-01-19 19:09:06+00:00)
Title: Container scripts

To address issues from the last pull request:

Setting the cell field of the ptrs:
They are never accessed apart from pointer comparison when removing, I can change this if needs be, but any other solution would be messy (maybe adding a second cell pointer called ContainerCell? ).

Moving an object from one cell to another:
I'm not entirely sure what you mean?
How would you do this, because I suspect it would actually work.

Deleted objects in containers:
The objects in the containers are iterated through using a ContainerStoreIterator, which I believe will skip over disabled items.