mirror of
https://github.com/blawar/ooot.git
synced 2024-06-30 16:29:55 +00:00
stack overflow fix
This commit is contained in:
parent
41bd8fe0d1
commit
525d226ca6
|
@ -540,32 +540,32 @@ static bool operator>=(s32 a, Timer b)
|
|||
|
||||
static bool operator==(s32 a, Timer b)
|
||||
{
|
||||
return b == a;
|
||||
return b.operator==(a);
|
||||
}
|
||||
|
||||
static bool operator!=(s32 a, Timer b)
|
||||
{
|
||||
return b != a;
|
||||
return b.operator!=(a);
|
||||
}
|
||||
|
||||
static Timer operator*(s32 a, Timer b)
|
||||
{
|
||||
return Timer(a) * b;
|
||||
return b.operator*(a);
|
||||
}
|
||||
|
||||
static Timer operator/(s32 a, Timer b)
|
||||
{
|
||||
return Timer(a) / b;
|
||||
return Timer(a).operator/(b);
|
||||
}
|
||||
|
||||
static Timer operator+(s32 a, Timer b)
|
||||
{
|
||||
return Timer(a) + b;
|
||||
return b.operator+(a);
|
||||
}
|
||||
|
||||
static Timer operator-(s32 a, Timer b)
|
||||
{
|
||||
return Timer(a) - b;
|
||||
return Timer(a).operator-(b);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user