mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Make plugin path a define
This commit is contained in:
parent
f6c2d92b6b
commit
e6eabc2cb8
@ -17,10 +17,10 @@
|
||||
//-----------------------------------------------------------------------------
|
||||
void CPluginSystem::PluginSystem_Init()
|
||||
{
|
||||
FileSystem()->CreateDirHierarchy("bin\\x64_retail\\plugins");
|
||||
FileSystem()->CreateDirHierarchy(PLUGIN_INSTALL_DIR);
|
||||
|
||||
CUtlVector< CUtlString > pluginPaths;
|
||||
AddFilesToList(pluginPaths, "bin\\x64_retail\\plugins", "dll");
|
||||
AddFilesToList(pluginPaths, PLUGIN_INSTALL_DIR, "dll");
|
||||
|
||||
for (int i = 0; i < pluginPaths.Count(); ++i)
|
||||
{
|
||||
|
@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
#include "ipluginsystem.h"
|
||||
|
||||
#define PLUGIN_INSTALL_DIR "bin\\x64_retail\\plugins"
|
||||
|
||||
class CModAppSystemGroup;
|
||||
class CServer;
|
||||
class CClient;
|
||||
|
Loading…
x
Reference in New Issue
Block a user