projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bac62e
)
Show reported map seed on debug info (F5)
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 19:43:54 +0000
(22:43 +0300)
committer
Perttu Ahola
<celeron55@gmail.com>
Wed, 4 Apr 2012 19:43:54 +0000
(22:43 +0300)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index fb429beba047d2f692f7b191d32a09bcbc3030f4..ec5881d2531d6caf70fa482cb995eff5540753b2 100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-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);