From: Perttu Ahola Date: Wed, 4 Apr 2012 19:43:54 +0000 (+0300) Subject: Show reported map seed on debug info (F5) X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=22a5a1fa43405c6682d70b3c2f0957d0d26551af;p=zefram%2Fminetest%2Fminetest_engine.git Show reported map seed on debug info (F5) --- diff --git a/src/game.cpp b/src/game.cpp index fb429beb..ec5881d2 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);