mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-20 07:23:51 +00:00
fixed time stamp operator
This commit is contained in:
parent
91f0eed9c4
commit
6eb9f15b6d
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue