projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77f3b3
)
F5 debug info: Use full words for NSEW directions for readability (#7461)
author
Paramat
<paramat@users.noreply.github.com>
Fri, 5 Oct 2018 23:53:50 +0000
(
00:53
+0100)
committer
GitHub
<noreply@github.com>
Fri, 5 Oct 2018 23:53:50 +0000
(
00:53
+0100)
src/client/gameui.cpp
patch
|
blob
|
history
diff --git
a/src/client/gameui.cpp
b/src/client/gameui.cpp
index 0a0fc2bcf323d24d068b8b77f901649ac4644d58..1f433e49a261436dc01333a6626ebbcf118d67f3 100644
(file)
--- 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;