- use map axes in bad sound position/velocity warning

https://forum.zdoom.org/viewtopic.php?t=60578
This commit is contained in:
alexey.lysiuk 2018-05-13 10:13:59 +03:00
parent 142368d958
commit 8a6ae503be
1 changed files with 2 additions and 1 deletions

View File

@ -824,7 +824,8 @@ static bool Validate(const FVector3 &value, const float limit, const char *const
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)
{