diff options
author | Northstar <northstar@northstar.tf> | 2022-02-03 22:09:08 -0300 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-03 22:09:08 -0300 |
commit | 75bf194b2fca06de805a7bc025c6dd8379250fa5 (patch) | |
tree | c9327ac7921ae80bb2d91381bb7db11b47ca2403 /NorthstarDedicatedTest/pdef.cpp | |
parent | e9f93ba2e8b9df280aed20131a1606d731d2dbbe (diff) | |
download | NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.tar.gz NorthstarLauncher-75bf194b2fca06de805a7bc025c6dd8379250fa5.zip |
Format project
Diffstat (limited to 'NorthstarDedicatedTest/pdef.cpp')
-rw-r--r-- | NorthstarDedicatedTest/pdef.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/NorthstarDedicatedTest/pdef.cpp b/NorthstarDedicatedTest/pdef.cpp index 20b4bea5..86642874 100644 --- a/NorthstarDedicatedTest/pdef.cpp +++ b/NorthstarDedicatedTest/pdef.cpp @@ -15,7 +15,7 @@ void ModManager::BuildPdef() fs::remove(MOD_PDEF_PATH); std::string pdef = ReadVPKOriginalFile(VPK_PDEF_PATH); - + for (Mod& mod : m_loadedMods) { if (!mod.Enabled || !mod.Pdiff.size()) @@ -59,7 +59,8 @@ void ModManager::BuildPdef() if (!currentLine.compare(start, 9, "$ENUM_END")) inEnum = false; else - enumAdds[currentEnum].push_back(currentLine); // only need to push_back current line, if there's syntax errors then game pdef parser will handle them + enumAdds[currentEnum].push_back(currentLine); // only need to push_back current line, if there's syntax errors then game + // pdef parser will handle them } else if (!currentLine.compare(start, 9, "$ENUM_ADD")) { |