X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fai%2Fai.cpp;h=db4ae413d8170a9dbc5f7f7056978a0615f6e5ee;hb=c4416bc2a5e446d0ba99cfeb50bb5fab287a1c4e;hp=820eb4d19a996aabdc1e89a188ec06710f11d0eb;hpb=9d9b14cc916df12e23173035049e42c0d21a683a;p=blank.git diff --git a/src/ai/ai.cpp b/src/ai/ai.cpp index 820eb4d..db4ae41 100644 --- a/src/ai/ai.cpp +++ b/src/ai/ai.cpp @@ -147,7 +147,7 @@ unsigned int AIController::Decide(unsigned int num_choices) noexcept { void ChaseState::Enter(AIController &ctrl, Entity &e) const { e.GetSteering() - .SetAcceleration(1.0f) + .SetAcceleration(5.0f) .SetSpeed(4.0f) .Enable(Steering::PURSUE_TARGET) ; @@ -184,7 +184,7 @@ void ChaseState::Exit(AIController &ctrl, Entity &e) const { void FleeState::Enter(AIController &ctrl, Entity &e) const { e.GetSteering() - .SetAcceleration(1.0f) + .SetAcceleration(5.0f) .SetSpeed(4.0f) .Enable(Steering::EVADE_TARGET) ;