1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-24 04:39:43 +00:00

Merge remote-tracking branch 'origin/openmw-32' into openmw-32

This commit is contained in:
Marc Zinnschlag 2014-08-31 20:00:06 +02:00
commit b9856cc382

View file

@ -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();