mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
18 lines
275 B
C++
18 lines
275 B
C++
|
|
||
|
#include "ptr.hpp"
|
||
|
|
||
|
#include <cassert>
|
||
|
|
||
|
void MWWorld::Ptr::setContainerStore (ContainerStore *store)
|
||
|
{
|
||
|
assert (store);
|
||
|
assert (!mCell);
|
||
|
|
||
|
mContainerStore = store;
|
||
|
}
|
||
|
|
||
|
MWWorld::ContainerStore *MWWorld::Ptr::getContainerStore() const
|
||
|
{
|
||
|
return mContainerStore;
|
||
|
}
|