mirror of
https://github.com/Haui1112/minetest.git
synced 2024-10-23 04:31:51 +02:00
Add platform name to --version information
This commit is contained in:
parent
ebe638c32d
commit
58b54cf9a9
|
@ -344,7 +344,8 @@ static void print_allowed_options(const OptionList &allowed_options)
|
|||
|
||||
static void print_version()
|
||||
{
|
||||
std::cout << PROJECT_NAME_C " " << g_version_hash << std::endl;
|
||||
std::cout << PROJECT_NAME_C " " << g_version_hash
|
||||
<< "(" << porting::getPlatformName() << ") " << std::endl;
|
||||
#ifndef SERVER
|
||||
std::cout << "Using Irrlicht " << IRRLICHT_SDK_VERSION << std::endl;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue