forked from teamnwah/openmw-tes3coop
Fix summoned creatures not following for non-player summoners
This commit is contained in:
parent
8f336dfedd
commit
0f290493e9
1 changed files with 1 additions and 1 deletions
|
@ -753,7 +753,7 @@ namespace MWMechanics
|
|||
MWMechanics::CreatureStats& summonedCreatureStats = ref.getPtr().getClass().getCreatureStats(ref.getPtr());
|
||||
|
||||
// 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());
|
||||
int creatureActorId = summonedCreatureStats.getActorId();
|
||||
|
||||
|
|
Loading…
Reference in a new issue