mirror of https://github.com/minetest/minetest.git
Changed Directions to North(+Z), etc...
This commit is contained in:
parent
64040ec707
commit
d283f7505c
|
@ -4004,16 +4004,16 @@ void Game::updateGui(float *statustext_time, const RunStats &stats,
|
||||||
const char* player_direction;
|
const char* player_direction;
|
||||||
|
|
||||||
if (yaw >= 45 and yaw < 135) {
|
if (yaw >= 45 and yaw < 135) {
|
||||||
player_direction = "West";
|
player_direction = "West(-X)";
|
||||||
}
|
}
|
||||||
else if (yaw >= 135 and yaw < 225) {
|
else if (yaw >= 135 and yaw < 225) {
|
||||||
player_direction = "South";
|
player_direction = "South(-Z)";
|
||||||
}
|
}
|
||||||
else if (yaw >= 225 and yaw < 315) {
|
else if (yaw >= 225 and yaw < 315) {
|
||||||
player_direction = "East";
|
player_direction = "East(+X)";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
player_direction = "North";
|
player_direction = "North(+Z)";
|
||||||
}
|
}
|
||||||
|
|
||||||
std::ostringstream os(std::ios_base::binary);
|
std::ostringstream os(std::ios_base::binary);
|
||||||
|
|
Loading…
Reference in New Issue