diff --git a/skse64/PluginAPI.h b/skse64/PluginAPI.h index f244a52..6af6db9 100644 --- a/skse64/PluginAPI.h +++ b/skse64/PluginAPI.h @@ -313,6 +313,8 @@ struct SKSEPluginVersionData char author[256]; // null-terminated ASCII plugin author name (can be empty) char supportEmail[256]; // null-terminated ASCII support email address (can be empty) + // this is not for showing to users, it's in case I need to contact you about + // a compatibility problem with your plugin // version compatibility UInt32 versionIndependence; // set to one of the kVersionIndependent_ enums or zero diff --git a/skse64/PluginManager.cpp b/skse64/PluginManager.cpp index 5869409..cc50cf2 100644 --- a/skse64/PluginManager.cpp +++ b/skse64/PluginManager.cpp @@ -833,7 +833,7 @@ bool PluginManager::Dispatch_Message(PluginHandle sender, UInt32 messageType, vo const char * PluginManager::GetPluginNameFromHandle(PluginHandle handle) { if (handle > 0 && handle <= m_plugins.size()) - return (m_plugins[handle - 1].info.name); + return (m_plugins[handle - 1].version.name); else if (handle == 0) return "SKSE"; @@ -849,7 +849,7 @@ PluginHandle PluginManager::LookupHandleFromName(const char* pluginName) for(LoadedPluginList::iterator iter = m_plugins.begin(); iter != m_plugins.end(); ++iter) { LoadedPlugin * plugin = &(*iter); - if(!_stricmp(plugin->info.name, pluginName)) + if(!_stricmp(plugin->version.name, pluginName)) { return idx; }