From 7deea6cec5d2173f66d4c2dd75ca0b633b887bc7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 00:17:30 +0300 Subject: sounds packed into CMPlugin (reduces usage of hLangpack) --- plugins/Ping/src/ping.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 8e2a1be6b2..01d99dedd4 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -135,8 +135,8 @@ extern "C" __declspec(dllexport) int Load(void) LoadOptions(); - Skin_AddSound("PingTimeout", LPGENW("Ping"), LPGENW("Timeout")); - Skin_AddSound("PingReply", LPGENW("Ping"), LPGENW("Reply")); + g_plugin.addSound("PingTimeout", LPGENW("Ping"), LPGENW("Timeout")); + g_plugin.addSound("PingReply", LPGENW("Ping"), LPGENW("Reply")); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); HookEvent(ME_OPT_INITIALISE, PingOptInit); -- cgit v1.2.3