summaryrefslogtreecommitdiff
path: root/core/engine.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-02-18 13:51:38 +0100
committerGitHub <noreply@github.com>2019-02-18 13:51:38 +0100
commit7c8fbd892c827abae464fad2c427ca2bd17ff3f8 (patch)
treed15fea52dbe46fe11bc271c734de4788e6b0310b /core/engine.cpp
parent98e4bda9f922d63141b8c3c8be2b719ab517c1e6 (diff)
parent2e6501d879105acd7355393838dc2930d533b768 (diff)
Merge pull request #25971 from akien-mga/version-hex
Add hex-encoded version number to Engine singleton for easy comparisons
Diffstat (limited to 'core/engine.cpp')
-rw-r--r--core/engine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/engine.cpp b/core/engine.cpp
index 4dba41853d..9607dedb3c 100644
--- a/core/engine.cpp
+++ b/core/engine.cpp
@@ -98,6 +98,7 @@ Dictionary Engine::get_version_info() const {
#else
dict["patch"] = 0;
#endif
+ dict["hex"] = VERSION_HEX;
dict["status"] = VERSION_STATUS;
dict["build"] = VERSION_BUILD;
dict["year"] = VERSION_YEAR;