From e50b9aca86e0edd417d08a4f7c5f969b2934b66a Mon Sep 17 00:00:00 2001 From: eduard Date: Thu, 6 Dec 2012 20:58:33 +0100 Subject: [PATCH] tradding skill use, spechcraft use --- apps/openmw/mwdialogue/dialoguemanagerimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp index 3d9392a97..9c43d4a67 100644 --- a/apps/openmw/mwdialogue/dialoguemanagerimp.cpp +++ b/apps/openmw/mwdialogue/dialoguemanagerimp.cpp @@ -461,9 +461,9 @@ namespace MWDialogue } if (skillincrease){ - // practice skill, it doesn't need to be a success to use skill + // practice skill MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer(); - MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0); + MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, -1); } text += (success ? "Success" : "Fail");