Fix travel services not actually costing gold.

This commit is contained in:
scrawl 2013-02-17 18:30:21 +01:00
parent 31bfe62bbc
commit 170a9762ac

View file

@ -132,6 +132,8 @@ namespace MWGui
if (mWindowManager.getInventoryWindow()->getPlayerGold()<price)
return;
mWindowManager.getTradeWindow ()->addOrRemoveGold (-price);
MWBase::Environment::get().getWorld ()->getFader ()->fadeOut(1);
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayer().getPlayer();
ESM::Position pos = *_sender->getUserData<ESM::Position>();