summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2013-09-25 04:29:07 +0200
committerKahrl <kahrl@gmx.net>2013-09-28 21:30:17 +0200
commit8bc7ea61b901516d3e1cbde77df1830d14129259 (patch)
treee7acea045324fc70dcce0547e34ebc6d958bf1c1 /src/main.cpp
parent372d638ec1ea97bf88e9d62ffeb03e73bc94ee1e (diff)
downloadminetest-8bc7ea61b901516d3e1cbde77df1830d14129259.tar.gz
minetest-8bc7ea61b901516d3e1cbde77df1830d14129259.tar.bz2
minetest-8bc7ea61b901516d3e1cbde77df1830d14129259.zip
Show git hash in version string at top left corner of window
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f34e24abc..10547b711 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -58,6 +58,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "guiMessageMenu.h"
#include "filesys.h"
#include "config.h"
+#include "version.h"
#include "guiMainMenu.h"
#include "game.h"
#include "keycode.h"
@@ -903,7 +904,7 @@ int main(int argc, char *argv[])
// Print startup message
infostream<<PROJECT_NAME<<
" "<<_("with")<<" SER_FMT_VER_HIGHEST_READ="<<(int)SER_FMT_VER_HIGHEST_READ
- <<", "<<BUILD_INFO
+ <<", "<<minetest_build_info
<<std::endl;
/*