Merge pull request #1684

0.6.3
scrawl 7 years ago
commit ec4e2f0064
No known key found for this signature in database
GPG Key ID: 2E6CC3676024C402

@ -530,7 +530,8 @@ namespace MWScript
// create item
MWWorld::ManualRef ref(MWBase::Environment::get().getWorld()->getStore(), itemID, 1);
MWBase::Environment::get().getWorld()->safePlaceObject(ref.getPtr(), actor, actor.getCell(), direction, distance);
MWWorld::Ptr ptr = MWBase::Environment::get().getWorld()->safePlaceObject(ref.getPtr(), actor, actor.getCell(), direction, distance);
MWBase::Environment::get().getWorld()->scaleObject(ptr, actor.getCellRef().getScale());
}
}
};

Loading…
Cancel
Save