forked from teamnwah/openmw-tes3coop
Fix travel services not actually costing gold.
This commit is contained in:
parent
31bfe62bbc
commit
170a9762ac
1 changed files with 2 additions and 0 deletions
|
@ -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>();
|
||||
|
|
Loading…
Reference in a new issue