mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Show reported map seed on debug info (F5)
This commit is contained in:
parent
7bac62ee7f
commit
22a5a1fa43
1 changed files with 3 additions and 2 deletions
|
@ -2600,11 +2600,12 @@ void the_game(
|
|||
char temptext[300];
|
||||
snprintf(temptext, 300,
|
||||
"(% .1f, % .1f, % .1f)"
|
||||
" (yaw = %.1f)",
|
||||
" (yaw = %.1f) (seed = %lli)",
|
||||
player_position.X/BS,
|
||||
player_position.Y/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->setVisible(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue