mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 10:26:45 +02:00
- added another special variable (application path) that can be used for variable substituion in ini file values
This commit is contained in:
@@ -1508,6 +1508,8 @@ int glestMain(int argc, char** argv) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
Properties::setApplicationPath(extractDirectoryPathFromFile(argv[0]));
|
||||
|
||||
ServerSocket::setMaxPlayerCount(GameConstants::maxPlayers);
|
||||
SystemFlags::VERBOSE_MODE_ENABLED = false;
|
||||
if(hasCommandArgument(argc, argv,GAME_ARGS[GAME_ARG_VERBOSE_MODE]) == true) {
|
||||
|
Reference in New Issue
Block a user