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/AvatarHistory/src/AvatarHistory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AvatarHistory') diff --git a/plugins/AvatarHistory/src/AvatarHistory.cpp b/plugins/AvatarHistory/src/AvatarHistory.cpp index 789e210640..6c2cd9ff99 100644 --- a/plugins/AvatarHistory/src/AvatarHistory.cpp +++ b/plugins/AvatarHistory/src/AvatarHistory.cpp @@ -331,8 +331,8 @@ extern "C" __declspec(dllexport) int Load(void) Profile_GetPathW(MAX_PATH, profilePath); - Skin_AddSound("avatar_changed", LPGENW("Avatar history"), LPGENW("Contact changed avatar")); - Skin_AddSound("avatar_removed", LPGENW("Avatar history"), LPGENW("Contact removed avatar")); + g_plugin.addSound("avatar_changed", LPGENW("Avatar history"), LPGENW("Contact changed avatar")); + g_plugin.addSound("avatar_removed", LPGENW("Avatar history"), LPGENW("Contact removed avatar")); hAvatarWindowsList = WindowList_Create(); -- cgit v1.2.3