MassManager: move initialisation of fields.
This commit is contained in:
parent
a16383183e
commit
ec8a6b0c46
1 changed files with 3 additions and 4 deletions
|
@ -25,12 +25,11 @@
|
||||||
static const std::string empty_string = "";
|
static const std::string empty_string = "";
|
||||||
|
|
||||||
MassManager::MassManager(const std::string& save_path, const std::string& steam_id, bool demo):
|
MassManager::MassManager(const std::string& save_path, const std::string& steam_id, bool demo):
|
||||||
|
_saveDirectory{save_path},
|
||||||
|
_steamId{steam_id},
|
||||||
|
_demo{demo},
|
||||||
_stagingAreaDirectory{Utility::Directory::join(Utility::Directory::path(Utility::Directory::executableLocation()), "staging")}
|
_stagingAreaDirectory{Utility::Directory::join(Utility::Directory::path(Utility::Directory::executableLocation()), "staging")}
|
||||||
{
|
{
|
||||||
_saveDirectory = save_path;
|
|
||||||
_steamId = steam_id;
|
|
||||||
_demo = demo;
|
|
||||||
|
|
||||||
Containers::arrayReserve(_hangars, 32);
|
Containers::arrayReserve(_hangars, 32);
|
||||||
|
|
||||||
std::string mass_filename = "";
|
std::string mass_filename = "";
|
||||||
|
|
Loading…
Reference in a new issue