fix speechcraft skill increasing when persuade didn't succeed

actorid
scrawl 12 years ago
parent dc8f74138b
commit 8e847fdc6e

@ -977,7 +977,8 @@ namespace MWDialogue
// practice skill
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0);
if (success)
MWWorld::Class::get(player).skillUsageSucceeded(player, ESM::Skill::Speechcraft, 0);
// add status message to dialogue window

Loading…
Cancel
Save