From 7ed29b4fe30d4bc63376fbe3c0d8195e66fbbe21 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 10 Nov 2007 06:39:36 +0000 Subject: [PATCH] removed absolute path comments --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401675 --- public/IExtensionSys.h | 3 ++- public/mms_sample_ext/sm_ext.cpp | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/IExtensionSys.h b/public/IExtensionSys.h index 845cde25..ec0b4211 100644 --- a/public/IExtensionSys.h +++ b/public/IExtensionSys.h @@ -357,7 +357,8 @@ namespace SourceMod * or dlclose. * * @param pInterface Pointer to an IExtensionInterface instance. - * @param filepath Absolute path to the extension's file. + * @param filepath Relative path to the extension's file, from + * mod folder. * @param filename Name to use to uniquely identify the extension. * The name should be generic, without any * platform-specific suffices. For example, diff --git a/public/mms_sample_ext/sm_ext.cpp b/public/mms_sample_ext/sm_ext.cpp index d9abdfb2..e68879ec 100644 --- a/public/mms_sample_ext/sm_ext.cpp +++ b/public/mms_sample_ext/sm_ext.cpp @@ -24,8 +24,7 @@ bool SM_LoadExtension(char *error, size_t maxlength) char path[256]; g_SMAPI->PathFormat(path, sizeof(path), - "%s/addons/myplugin/bin/myplugin%s", - g_SMAPI->GetBaseDir(), + "addons/myplugin/bin/myplugin%s", #if defined __linux__ "_i486.so" #else