Skip to content
Permalink
Browse files

F5 debug info: Use full words for NSEW directions for readability (#7461

)
  • Loading branch information...
paramat committed Oct 5, 2018
1 parent d77f3b3 commit b982e45456050bd055352b7d487b0fb88f8989d7
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/client/gameui.cpp
@@ -33,7 +33,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,

inline static const char *yawToDirectionString(int yaw)
{
static const char *direction[4] = {"N +Z", "W -X", "S -Z", "E +X"};
static const char *direction[4] =
{"North +Z", "West -X", "South -Z", "East +X"};

yaw = wrapDegrees_0_360(yaw);
yaw = (yaw + 45) % 360 / 90;

0 comments on commit b982e45

Please sign in to comment.
You can’t perform that action at this time.