diff options
author | Giacomo Pozzoni <giacomopoz@gmail.com> | 2019-01-13 20:25:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 20:25:02 +0100 |
commit | 8f9654d8176646c3076482477fc4b91011fb83cc (patch) | |
tree | cd985399d4c8de1381198f84a5898d875ea6010f /src/server/authserver/Server/AuthSession.cpp | |
parent | a8558c4361a7e3560c094886ef3072d46c64de44 (diff) |
3.3.5 UnitAI (#22911)
* Core/AI: Revamp how UnitAI changes are applied
Revamp how UnitAI changes are applied by storing current AI in a variable and all previous AIs plus current in a stack.
The callers can push/pop AIs on the stack that will take effect only in next Unit::Update() call.
The current AI will be a valid object for the whole duration of Unit::Update() and until next Unit::Update() call.
* Core/AI: Apply new AI change code
* Core/AI: Fix build
* Core/AI: Fix crash on Creature::AIM_Create()
* Core/AI: Fix crash
* Core/AI: Restore ASSERT
* Core/AI: Fix UnitAI not being popped properly when restoring a charmed AI
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
0 files changed, 0 insertions, 0 deletions