summaryrefslogtreecommitdiff
path: root/protocols/MinecraftDynmap/src/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MinecraftDynmap/src/dialogs.cpp')
-rw-r--r--protocols/MinecraftDynmap/src/dialogs.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MinecraftDynmap/src/dialogs.cpp b/protocols/MinecraftDynmap/src/dialogs.cpp
index 20585717d0..6bedca6e8b 100644
--- a/protocols/MinecraftDynmap/src/dialogs.cpp
+++ b/protocols/MinecraftDynmap/src/dialogs.cpp
@@ -24,8 +24,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Icons
-extern HINSTANCE g_hInstance;
-
static IconItem icons[] = {
{ "proto", LPGEN("Protocol icon"), IDI_PROTO },
};
@@ -33,7 +31,7 @@ static IconItem icons[] = {
static HANDLE hIconLibItem[_countof(icons)];
void InitIcons(void) {
- Icon_Register(g_hInstance, "Protocols/MinecraftDynmap", icons, _countof(icons), "MinecraftDynmap");
+ Icon_Register(g_plugin.getInst(), "Protocols/MinecraftDynmap", icons, _countof(icons), "MinecraftDynmap");
}
HANDLE GetIconHandle(const char* name) {