Correct an error in the timestamp subtracting logic (Fixes #3105)

openmw-38
scrawl 9 years ago
parent 2162f21550
commit a1e163ed20

@ -96,7 +96,7 @@ namespace MWWorld
if (left.getHour()<right.getHour()) if (left.getHour()<right.getHour())
{ {
hours = 24-right.getHour()+left.getHour(); hours = 24-right.getHour()+left.getHour();
++days; --days;
} }
else else
{ {

Loading…
Cancel
Save