summaryrefslogtreecommitdiff
path: root/src/client/gameui.cpp
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2018-10-06 00:53:50 +0100
committerGitHub <noreply@github.com>2018-10-06 00:53:50 +0100
commitb982e45456050bd055352b7d487b0fb88f8989d7 (patch)
treee694200ead2405900dde6b960cfea8a2b2fda6b7 /src/client/gameui.cpp
parentd77f3b3fdeb0da2a69547594b5a75570a54b02d1 (diff)
downloadminetest-b982e45456050bd055352b7d487b0fb88f8989d7.tar.gz
minetest-b982e45456050bd055352b7d487b0fb88f8989d7.tar.bz2
minetest-b982e45456050bd055352b7d487b0fb88f8989d7.zip
F5 debug info: Use full words for NSEW directions for readability (#7461)
Diffstat (limited to 'src/client/gameui.cpp')
-rw-r--r--src/client/gameui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/gameui.cpp b/src/client/gameui.cpp
index 0a0fc2bcf..1f433e49a 100644
--- a/src/client/gameui.cpp
+++ b/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;