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:
parent
1f436f9886
commit
a9cc3a2844
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ namespace MWWorld
|
|||
|
||||
bool isInCell() const
|
||||
{
|
||||
return (mContainerStore == 0);
|
||||
return (mContainerStore == 0) && (mCell != 0);
|
||||
}
|
||||
|
||||
void setContainerStore (ContainerStore *store);
|
||||
|
|
Loading…
Reference in a new issue