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