Update WaypointMovementGenerator.cpp

https://github.com/TrinityCore/TrinityCore/commit/e319472e718c5c7e5b7638ff81bf7b6629e5f0d2#commitcomment-6767582
Merge pull request #12342 from Rochet2/patch-1

Update WaypointMovementGenerator.cpp