mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Fix #7453: wrong position of dynamically placed CreatureLevList
This commit is contained in:
parent
38d0ece366
commit
38f56cfcdd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue