mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-21 09:44:09 +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);
|
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"));
|
engine.setGrabMouse(!variables.count("no-grab"));
|
||||||
|
|
||||||
// Font encoding settings
|
// Font encoding settings
|
||||||
|
|
Loading…
Reference in a new issue