Heal player while in jail

deque
scrawl 11 years ago
parent 9a6737073f
commit 8a4227ec38

@ -2615,6 +2615,8 @@ namespace MWWorld
int days = std::max(1, bounty / iDaysinPrisonMod);
advanceTime(days * 24);
for (int i=0; i<days*24; ++i)
MWBase::Environment::get().getMechanicsManager ()->rest (true);
std::set<int> skills;
for (int day=0; day<days; ++day)
@ -2658,8 +2660,6 @@ namespace MWWorld
message += "\n" + skillMsg;
}
// TODO: Sleep the player
std::vector<std::string> buttons;
buttons.push_back("#{sOk}");
MWBase::Environment::get().getWindowManager()->messageBox(message, buttons);

Loading…
Cancel
Save