diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-04-04 22:43:54 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-04-04 22:43:54 +0300 |
commit | 22a5a1fa43405c6682d70b3c2f0957d0d26551af (patch) | |
tree | ae30f058fc6d36023a9b6405b310887fd7b37c1c | |
parent | 7bac62ee7fdca2387bf4c997eafdd9e4271c4ac5 (diff) | |
download | minetest-22a5a1fa43405c6682d70b3c2f0957d0d26551af.tar.gz minetest-22a5a1fa43405c6682d70b3c2f0957d0d26551af.tar.bz2 minetest-22a5a1fa43405c6682d70b3c2f0957d0d26551af.zip |
Show reported map seed on debug info (F5)
-rw-r--r-- | src/game.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp index fb429beba..ec5881d25 100644 --- 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); |