aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/printmaps.cpp
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2022-09-02 00:38:07 +0200
committerGitHub <noreply@github.com>2022-09-02 00:38:07 +0200
commitf2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8 (patch)
treeeb23e0d5ebfc8f796b7bde55179ae3dc0ae46d3f /NorthstarDLL/printmaps.cpp
parent80673fb5cfa32d3ff75d54c4c4173d32905fda30 (diff)
downloadNorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.tar.gz
NorthstarLauncher-f2e670bd32fc291dbb6a4b45c08cb8f2d94a6bc8.zip
Refactor cleanup (some formatting fixes) (#257)
* Fix some formatting * More formatting fixes
Diffstat (limited to 'NorthstarDLL/printmaps.cpp')
-rw-r--r--NorthstarDLL/printmaps.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/NorthstarDLL/printmaps.cpp b/NorthstarDLL/printmaps.cpp
index 7a12b1fe..82ba8d5e 100644
--- a/NorthstarDLL/printmaps.cpp
+++ b/NorthstarDLL/printmaps.cpp
@@ -19,9 +19,9 @@ enum class MapSource_t
};
const std::unordered_map<MapSource_t, const char*> PrintMapSource = {
- {MapSource_t::VPK, "VPK"},
+ {MapSource_t::VPK, "VPK"},
{MapSource_t::MOD, "MOD"},
- {MapSource_t::GAMEDIR, "R2"}
+ {MapSource_t::GAMEDIR, "R2"}
};
struct MapVPKInfo
@@ -34,7 +34,7 @@ struct MapVPKInfo
// our current list of maps in the game
std::vector<MapVPKInfo> vMapList;
-void RefreshMapList()
+void RefreshMapList()
{
vMapList.clear();
@@ -144,8 +144,7 @@ int, __fastcall, (const char const* cmdname, const char const* partial, char com
return numMaps;
}
-
-void ConCommand_maps(const CCommand& args)
+void ConCommand_maps(const CCommand& args)
{
if (args.ArgC() < 2)
{