From 98c3f7f61ee4577fbd290844d67629519e502f6c Mon Sep 17 00:00:00 2001 From: Kernell Date: Fri, 13 Mar 2015 08:57:51 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=BF=D1=83=D1=82=D1=8C=20=D0=BA=20assembly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mta-mono/src/CFunctions.h | 62 ++++++++++++++++----------------- mta-mono/src/CResourceManager.h | 2 +- 2 files changed, 32 insertions(+), 32 deletions(-) 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;