1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 21:45:32 +00:00

Ensure a valid CellStore for Ptr::isInCell

This commit is contained in:
Chris Robinson 2013-08-04 21:33:11 -07:00
parent 1f436f9886
commit a9cc3a2844

View file

@ -74,7 +74,7 @@ namespace MWWorld
bool isInCell() const
{
return (mContainerStore == 0);
return (mContainerStore == 0) && (mCell != 0);
}
void setContainerStore (ContainerStore *store);