diff --git a/src/thingdef/thingdef_expression.cpp b/src/thingdef/thingdef_expression.cpp index 1b8d0c4d5..9f17e5678 100644 --- a/src/thingdef/thingdef_expression.cpp +++ b/src/thingdef/thingdef_expression.cpp @@ -2420,8 +2420,8 @@ FxExpression *FxRandom::Resolve(FCompileContext &ctx) RESOLVE(min, ctx); RESOLVE(max, ctx); ABORT(min && max); - assert(min->ValueType == VAL_Int); - assert(max->ValueType == VAL_Int); + assert(min->ValueType == ValueType.Type); + assert(max->ValueType == ValueType.Type); } return this; };