1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 16:45:33 +00:00

Properly utilize creature levelled list's scale (bug #5369)

This commit is contained in:
Capostrophic 2020-04-12 13:14:32 +03:00
parent 74c121a69d
commit 07779d7fcf
2 changed files with 2 additions and 0 deletions

View file

@ -1,6 +1,7 @@
0.47.0
------
Bug #5369: Spawnpoint in the Grazelands doesn't produce oversized creatures
0.46.0
------

View file

@ -125,6 +125,7 @@ namespace MWClass
const MWWorld::ESMStore& store = MWBase::Environment::get().getWorld()->getStore();
MWWorld::ManualRef manualRef(store, id);
manualRef.getPtr().getCellRef().setPosition(ptr.getCellRef().getPosition());
manualRef.getPtr().getCellRef().setScale(ptr.getCellRef().getScale());
MWWorld::Ptr placed = MWBase::Environment::get().getWorld()->placeObject(manualRef.getPtr(), ptr.getCell() , ptr.getCellRef().getPosition());
customData.mSpawnActorId = placed.getClass().getCreatureStats(placed).getActorId();
customData.mSpawn = false;