1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 06:53:52 +00:00

fixed time stamp operator

This commit is contained in:
Marc Zinnschlag 2012-08-11 11:38:26 +02:00
parent 91f0eed9c4
commit 6eb9f15b6d

View file

@ -76,12 +76,12 @@ namespace MWWorld
TimeStamp operator+ (const TimeStamp& stamp, double hours)
{
return TimeStamp (stamp) + hours;
return TimeStamp (stamp) += hours;
}
TimeStamp operator+ (double hours, const TimeStamp& stamp)
{
return TimeStamp (stamp) + hours;
return TimeStamp (stamp) += hours;
}
double operator- (const TimeStamp& left, const TimeStamp& right)