From 3825f8fba7bb9bce6ca89fc0a156323575438b56 Mon Sep 17 00:00:00 2001 From: momo5502 Date: Tue, 14 Feb 2017 10:49:09 +0100 Subject: [PATCH] [MusicalTalent] Disable musical talent for dedis --- src/Components/Modules/AssetHandler.cpp | 2 +- src/Components/Modules/MusicalTalent.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/Modules/AssetHandler.cpp b/src/Components/Modules/AssetHandler.cpp index dfd3b6dd..dd8cb0e5 100644 --- a/src/Components/Modules/AssetHandler.cpp +++ b/src/Components/Modules/AssetHandler.cpp @@ -113,7 +113,7 @@ namespace Components add esp, 8h - mov[esp + 20h], eax + mov [esp + 20h], eax popad pop eax diff --git a/src/Components/Modules/MusicalTalent.cpp b/src/Components/Modules/MusicalTalent.cpp index c97dd174..572caa12 100644 --- a/src/Components/Modules/MusicalTalent.cpp +++ b/src/Components/Modules/MusicalTalent.cpp @@ -33,7 +33,7 @@ namespace Components MusicalTalent::MusicalTalent() { - if (ZoneBuilder::IsEnabled()) return; + if (ZoneBuilder::IsEnabled() || Dedicated::IsEnabled()) return; AssetHandler::OnFind(Game::XAssetType::ASSET_TYPE_SOUND, MusicalTalent::ModifyAliases);