mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
Heal player while in jail
This commit is contained in:
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…
x
Reference in New Issue
Block a user