mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Fix #7453: wrong position of dynamically placed CreatureLevList
This commit is contained in:
parent
38d0ece366
commit
38f56cfcdd
@ -148,7 +148,7 @@ namespace MWClass
|
||||
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());
|
||||
manualRef.getPtr(), ptr.getCell(), ptr.getRefData().getPosition());
|
||||
customData.mSpawnActorId = placed.getClass().getCreatureStats(placed).getActorId();
|
||||
customData.mSpawn = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user