mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Fix: check starting_age <= age, instead of starting_age < age. Otherwise we can get into an infinite loop.
This commit is contained in:
@@ -40,6 +40,8 @@ public:
|
||||
/// Compare two ages, smaller means earlier
|
||||
inline bool operator < (Age a) const { return age < a.age; }
|
||||
/// Compare two ages
|
||||
inline bool operator <= (Age a) const { return age <= a.age; }
|
||||
/// Compare two ages
|
||||
inline bool operator == (Age a) const { return age == a.age; }
|
||||
|
||||
/// A number corresponding to the age
|
||||
|
||||
Reference in New Issue
Block a user