Dnia poniedziałek, 27 stycznia 2014 05:20:29 Marc Zinnschlag pisze:
> > @@ -194,6 +200,18 @@
> > 
> >      }
> >      
> >      template<typename ESXRecordT, typename IdAccessorT>
> > 
> > +    void Collection<ESXRecordT, IdAccessorT>::cloneRecord(const
> > std::string& origin,
> This function is incorrect. It will fail if the original record existed in 
the base part only. The new record must be created somewhat like this:
> > Record<ESXRecordT> copy;
> > copy.mModified = getRecord (origin).get();
> > copy.mState = RecordBase::State_ModifiedOnly;
> > copy.getId().mId = destination;
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/zinnschlag/openmw/pull/1240/files#r9188024

Ok, now I know why it fails for base ;-)