- use map axes in bad sound position/velocity warning

https://forum.zdoom.org/viewtopic.php?t=60578
(cherry picked from commit 8a6ae503be)
This commit is contained in:
alexey.lysiuk 2018-05-13 10:13:59 +03:00 committed by drfrag666
parent 9416219ea5
commit c06501d7ca

View file

@ -831,7 +831,8 @@ static bool Validate(const FVector3 &value, const float limit, const char *const
if (!valid) if (!valid)
{ {
Printf(TEXTCOLOR_RED "Invalid sound %s " TEXTCOLOR_WHITE "(%f, %f, %f)", name, value.X, value.Y, value.Z); // Sound position and velocity have Y and Z axes swapped comparing to map coordinate system
Printf(TEXTCOLOR_RED "Invalid sound %s " TEXTCOLOR_WHITE "(%f, %f, %f)", name, value.X, value.Z, value.Y);
if (actor == nullptr) if (actor == nullptr)
{ {