rename func dir

This commit is contained in:
_or_75
2025-10-20 16:07:43 +03:00
parent 90c12f7ddd
commit a513040725
2 changed files with 4 additions and 4 deletions
@@ -33,7 +33,7 @@ auto CDllLauncher::OnDllMain( LPVOID lpReserved , HINSTANCE hInstace ) -> void
{
ManualMapParam_t* pParam = reinterpret_cast<ManualMapParam_t*>( lpReserved );
if ( pParam && pParam->DllLoaderCode == VERMILLION_CHEAT_LICENSE_KEY )
if ( pParam )
{
m_DllDir = pParam->DllPath;
m_DllDir += "\\";
@@ -122,7 +122,7 @@ auto GetDllDir()->std::string&
return GetDllLauncher()->m_DllDir;
}
auto GetCSGODir() -> std::string
auto GetCS2Dir() -> std::string
{
return GetDllLauncher()->m_CS2Dir;
}
@@ -68,7 +68,7 @@ public:
private:
friend auto GetDllDir()->std::string&;
friend auto GetCSGODir()->std::string;
friend auto GetCS2Dir()->std::string;
private:
std::string m_DllDir;
@@ -86,5 +86,5 @@ private:
};
auto GetDllDir() -> std::string&;
auto GetCSGODir() -> std::string;
auto GetCS2Dir() -> std::string;
auto GetDllLauncher() -> CDllLauncher*;