Example #1
0
 bool operator() (const MWWorld::Ptr& ptr)
 {
     if (mMovedToAnotherCell.find(ptr.getBase()) != mMovedToAnotherCell.end())
         return true;
     mMergeTo.push_back(ptr.getBase());
     return true;
 }
Example #2
0
 void InventoryPreview::updatePtr(const MWWorld::Ptr &ptr)
 {
     mCharacter = MWWorld::Ptr(ptr.getBase(), NULL);
 }