super lua update

This commit is contained in:
AJ Kelly
2011-08-20 20:17:00 -05:00
parent 0d483d1781
commit 5cdcba047d
8 changed files with 40 additions and 65 deletions
+3 -4
View File
@@ -6,10 +6,9 @@ function Enum:Compare( e1, e2 )
assert( Value1, tostring(e1) .. " is not an enum of type " .. self:GetName() )
assert( Value2, tostring(e2) .. " is not an enum of type " .. self:GetName() )
-- Nil enums correspond to "invalid". These compare greater
-- than any valid enum value, to line up with the equivalent
-- C++ code.
-- Nil enums correspond to "invalid". These compare greater than any valid
-- enum value, to line up with the equivalent C++ code.
-- should this be changed to math.huge()? -shake
if not e1 then
Value1 = 99999999