mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-15 04:38:21 +00:00
Merge branch 'moreMovementAi' of https://github.com/DarkflameUniverse/DarkflameServer into moreMovementAi
This commit is contained in:
commit
67cd990d98
@ -183,7 +183,7 @@ void MovementAIComponent::HandleWaypointCommandTeleport(const std::string& data)
|
||||
void MovementAIComponent::HandleWaypointCommandPathSpeed(const std::string& data) {
|
||||
float speed = 0.0;
|
||||
if (!GeneralUtils::TryParse<float>(data, speed)) return;
|
||||
SetCurrentSpeed(speed);
|
||||
SetMaxSpeed(speed);
|
||||
}
|
||||
|
||||
void MovementAIComponent::HandleWaypointCommandRemoveNPC(const std::string& data) {
|
||||
|
Loading…
Reference in New Issue
Block a user