1
0
espelhamento de https://github.com/luanti-org/luanti.git sincronizado 2025-12-20 05:45:20 +01:00

Show reported map seed on debug info (F5)

Esse commit está contido em:
Perttu Ahola
2012-04-04 22:43:54 +03:00
commit 22a5a1fa43

Ver Arquivo

@@ -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);