diff --git a/mta-mono/src/CFunctions.h b/mta-mono/src/CFunctions.h index 7450d13..d2d457b 100644 --- a/mta-mono/src/CFunctions.h +++ b/mta-mono/src/CFunctions.h @@ -1,33 +1,33 @@ -/********************************************************* -* -* Multi Theft Auto: San Andreas - Deathmatch -/********************************************************* -* -* Copyright © 2013, Innovation Roleplay Engine. -* -* All Rights Reserved. -* -* Redistribution and use in source and binary forms, -* with or without modification, -* is permitted only for authors. -* -*********************************************************/ - -class CFunctions; - -#ifndef __CFUNCTIONS_H -#define __CFUNCTIONS_H - +/********************************************************* +* +* Multi Theft Auto: San Andreas - Deathmatch +/********************************************************* +* +* Copyright © 2013, Innovation Roleplay Engine. +* +* All Rights Reserved. +* +* Redistribution and use in source and binary forms, +* with or without modification, +* is permitted only for authors. +* +*********************************************************/ + +class CFunctions; + +#ifndef __CFUNCTIONS_H +#define __CFUNCTIONS_H + #include "CResource.h" #include "CResourceManager.h" - -extern CResourceManager *g_pResourceManager; -extern ILuaModuleManager10 *g_pModuleManager; - -class CFunctions -{ -public: - static int monoInit ( lua_State *pLuaVM ); - -}; -#endif + +extern CResourceManager *g_pResourceManager; +extern ILuaModuleManager10 *g_pModuleManager; + +class CFunctions +{ +public: + static int monoInit ( lua_State *pLuaVM ); + +}; +#endif diff --git a/mta-mono/src/CResourceManager.h b/mta-mono/src/CResourceManager.h index 9202033..6870260 100644 --- a/mta-mono/src/CResourceManager.h +++ b/mta-mono/src/CResourceManager.h @@ -62,7 +62,7 @@ public: g_pModuleManager->GetResourceName( luaVM, sName ); - string sPath( "mods/deathmatch/mono/resources/" + sName + ".dll" ); + string sPath( "mods/deathmatch/mono/resources/[ire]/" + sName + "/" + sName + ".dll" ); struct stat buf;