mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-02 01:34:32 +00:00
Use operator<< for ESM::RefId
This commit is contained in:
parent
d64eea2fc6
commit
1258bdf40a
1 changed files with 2 additions and 4 deletions
|
|
@ -355,8 +355,7 @@ namespace MWScript
|
||||||
MWMechanics::AiFollow followPackage(actorID, duration, x, y, z, repeat);
|
MWMechanics::AiFollow followPackage(actorID, duration, x, y, z, repeat);
|
||||||
ptr.getClass().getCreatureStats(ptr).getAiSequence().stack(followPackage, ptr);
|
ptr.getClass().getCreatureStats(ptr).getAiSequence().stack(followPackage, ptr);
|
||||||
|
|
||||||
Log(Debug::Info) << "AiFollow: " << actorID.getRefIdString() << ", " << x << ", " << y << ", " << z
|
Log(Debug::Info) << "AiFollow: " << actorID << ", " << x << ", " << y << ", " << z << ", " << duration;
|
||||||
<< ", " << duration;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -396,8 +395,7 @@ namespace MWScript
|
||||||
|
|
||||||
MWMechanics::AiFollow followPackage(actorID, cellID, duration, x, y, z, repeat);
|
MWMechanics::AiFollow followPackage(actorID, cellID, duration, x, y, z, repeat);
|
||||||
ptr.getClass().getCreatureStats(ptr).getAiSequence().stack(followPackage, ptr);
|
ptr.getClass().getCreatureStats(ptr).getAiSequence().stack(followPackage, ptr);
|
||||||
Log(Debug::Info) << "AiFollow: " << actorID.getRefIdString() << ", " << x << ", " << y << ", " << z
|
Log(Debug::Info) << "AiFollow: " << actorID << ", " << x << ", " << y << ", " << z << ", " << duration;
|
||||||
<< ", " << duration;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue