diff options
Diffstat (limited to 'NorthstarDLL/printmaps.cpp')
-rw-r--r-- | NorthstarDLL/printmaps.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/NorthstarDLL/printmaps.cpp b/NorthstarDLL/printmaps.cpp index 82ba8d5e..c378daad 100644 --- a/NorthstarDLL/printmaps.cpp +++ b/NorthstarDLL/printmaps.cpp @@ -19,10 +19,7 @@ enum class MapSource_t }; const std::unordered_map<MapSource_t, const char*> PrintMapSource = { - {MapSource_t::VPK, "VPK"}, - {MapSource_t::MOD, "MOD"}, - {MapSource_t::GAMEDIR, "R2"} -}; + {MapSource_t::VPK, "VPK"}, {MapSource_t::MOD, "MOD"}, {MapSource_t::GAMEDIR, "R2"}}; struct MapVPKInfo { @@ -110,8 +107,10 @@ void RefreshMapList() } } +// clang-format off AUTOHOOK(_Host_Map_f_CompletionFunc, engine.dll + 0x161AE0, int, __fastcall, (const char const* cmdname, const char const* partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH])) +// clang-format on { // don't update our map list often from this func, only refresh every 10 seconds so we avoid constantly reading fs static double flLastAutocompleteRefresh = -999; |