mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-16 01:21:17 +00:00
- 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:
parent
9416219ea5
commit
c06501d7ca
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue