Fix missing lookback firing for network ai

This commit is contained in:
Benau 2018-09-28 18:07:54 +08:00
parent 8efd422125
commit 759a1d5a33

View File

@ -101,6 +101,8 @@ void NetworkAIController::convertAIToPlayerActions()
0 : 32768); 0 : 32768);
all_actions.emplace_back(PA_RESCUE, all_actions.emplace_back(PA_RESCUE,
m_ai_controls->getRescue() ? 32768 : 0); m_ai_controls->getRescue() ? 32768 : 0);
all_actions.emplace_back(PA_LOOK_BACK,
m_ai_controls->getLookBack() ? 32768 : 0);
for (const auto& a : all_actions) for (const auto& a : all_actions)
{ {