diff --git a/dlls/engine/amxxmodule.cpp b/dlls/engine/amxxmodule.cpp index 30ef9c79..d8c8c56c 100755 --- a/dlls/engine/amxxmodule.cpp +++ b/dlls/engine/amxxmodule.cpp @@ -2773,7 +2773,7 @@ void ValidateMacros_DontCallThis_Smiley() MF_FindLibrary(NULL, LibType_Class); MF_AddLibraries(NULL, LibType_Class, NULL); MF_RemoveLibraries(NULL); - MF_OverrideNatives(NULL); + MF_OverrideNatives(NULL, ""); } #endif diff --git a/dlls/engine/engine.sln b/dlls/engine/engine.sln new file mode 100644 index 00000000..d086dcdb --- /dev/null +++ b/dlls/engine/engine.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "engine", "engine.vcproj", "{B3F4467B-6148-4EBF-B897-168D81CF8D9B}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {B3F4467B-6148-4EBF-B897-168D81CF8D9B}.Debug.ActiveCfg = Debug|Win32 + {B3F4467B-6148-4EBF-B897-168D81CF8D9B}.Debug.Build.0 = Debug|Win32 + {B3F4467B-6148-4EBF-B897-168D81CF8D9B}.Release.ActiveCfg = Release|Win32 + {B3F4467B-6148-4EBF-B897-168D81CF8D9B}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/dlls/engine/entity.cpp b/dlls/engine/entity.cpp index 7b7402e2..9c1c6aa8 100755 --- a/dlls/engine/entity.cpp +++ b/dlls/engine/entity.cpp @@ -207,7 +207,7 @@ static cell AMX_NATIVE_CALL entity_get_float(AMX *amx, cell *params) int idx = params[2]; REAL fVal = 0; - CHECK_ENTITY(iEnt); + CHECK_ENTITY_SIMPLE(iEnt); edict_t *pEnt = INDEXENT2(iEnt);