1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Minor correction

This commit is contained in:
scrawl 2014-01-14 09:10:09 +01:00
parent de64c57179
commit a432661b8a

View File

@ -183,7 +183,7 @@ namespace MWGui
if (x > y)
{
float fSleepRestMod = world->getStore().get<ESM::GameSetting>().find("fSleepRestMod")->getFloat();
mInterruptAt = int(fSleepRestMod * hoursToWait);
mInterruptAt = hoursToWait - int(fSleepRestMod * hoursToWait);
mInterruptCreatureList = region->mSleepList;
}
}