mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 23:22:24 +01:00
Show reported map seed on debug info (F5)
This commit is contained in:
parent
7bac62ee7f
commit
22a5a1fa43
@ -2600,11 +2600,12 @@ void the_game(
|
|||||||
char temptext[300];
|
char temptext[300];
|
||||||
snprintf(temptext, 300,
|
snprintf(temptext, 300,
|
||||||
"(% .1f, % .1f, % .1f)"
|
"(% .1f, % .1f, % .1f)"
|
||||||
" (yaw = %.1f)",
|
" (yaw = %.1f) (seed = %lli)",
|
||||||
player_position.X/BS,
|
player_position.X/BS,
|
||||||
player_position.Y/BS,
|
player_position.Y/BS,
|
||||||
player_position.Z/BS,
|
player_position.Z/BS,
|
||||||
wrapDegrees_0_360(camera_yaw));
|
wrapDegrees_0_360(camera_yaw),
|
||||||
|
client.getMapSeed());
|
||||||
|
|
||||||
guitext2->setText(narrow_to_wide(temptext).c_str());
|
guitext2->setText(narrow_to_wide(temptext).c_str());
|
||||||
guitext2->setVisible(true);
|
guitext2->setVisible(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user