@ -114,7 +114,8 @@ void Actors::removeCell(MWWorld::Ptr::CellStore* store){
}
void Actors::playAnimationGroup (const MWWorld::Ptr& ptr, const std::string& groupName, int mode, int number){
mAllActors.find(ptr)->second->startScript(groupName, mode, number);
if(mAllActors.find(ptr) != mAllActors.end())
mAllActors[ptr]->startScript(groupName, mode, number);
void Actors::skipAnimation (const MWWorld::Ptr& ptr){
@ -354,8 +354,10 @@ namespace MWRender{
for(iter = transformations->begin(); iter != transformations->end(); iter++){
if(time < iter->getStartTime() || time < startTime || time > iter->getStopTime())
{
continue;
slot++;
iter++;
if(skel->hasBone(iter->getBonename())){