Skip to content

Commit

Permalink
F5 debug info: Use full words for NSEW directions for readability (#7461
Browse files Browse the repository at this point in the history
)
  • Loading branch information
paramat committed Oct 5, 2018
1 parent d77f3b3 commit b982e45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/gameui.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit b982e45

Please sign in to comment.