mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-24 08:09:43 +00:00
Merge remote-tracking branch 'origin/openmw-32' into openmw-32
This commit is contained in:
commit
b9856cc382
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ namespace MWMechanics
|
||||||
MWMechanics::CreatureStats& summonedCreatureStats = ref.getPtr().getClass().getCreatureStats(ref.getPtr());
|
MWMechanics::CreatureStats& summonedCreatureStats = ref.getPtr().getClass().getCreatureStats(ref.getPtr());
|
||||||
|
|
||||||
// Make the summoned creature follow its master and help in fights
|
// Make the summoned creature follow its master and help in fights
|
||||||
AiFollow package(ptr.getRefData().getHandle());
|
AiFollow package(ptr.getCellRef().getRefId());
|
||||||
summonedCreatureStats.getAiSequence().stack(package, ref.getPtr());
|
summonedCreatureStats.getAiSequence().stack(package, ref.getPtr());
|
||||||
int creatureActorId = summonedCreatureStats.getActorId();
|
int creatureActorId = summonedCreatureStats.getActorId();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue