mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 13:41:05 +00:00
- use map axes in bad sound position/velocity warning
https://forum.zdoom.org/viewtopic.php?t=60578
This commit is contained in:
parent
142368d958
commit
8a6ae503be
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue