From 22a5a1fa43405c6682d70b3c2f0957d0d26551af Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Wed, 4 Apr 2012 22:43:54 +0300 Subject: [PATCH] Show reported map seed on debug info (F5) --- src/game.cpp | 5 +++-- 1 file 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); -- 2.25.1