mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 15:15:33 +00:00
Print the OpenMW version to the logfile
This commit is contained in:
parent
67b0d99737
commit
ccc721ba3f
1 changed files with 3 additions and 0 deletions
|
@ -210,6 +210,9 @@ bool parseOptions (int argc, char** argv, OMW::Engine& engine, Files::Configurat
|
|||
|
||||
cfgMgr.readConfiguration(variables, desc);
|
||||
|
||||
Version::Version v = Version::getOpenmwVersion(variables["resources"].as<std::string>());
|
||||
std::cout << v.describe() << std::endl;
|
||||
|
||||
engine.setGrabMouse(!variables.count("no-grab"));
|
||||
|
||||
// Font encoding settings
|
||||
|
|
Loading…
Reference in a new issue