From fff3d9c2282e2e47a7fc366d15eccc747ce260bc Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 18 Oct 2008 23:22:26 +0000 Subject: [PATCH] - Fixed: FxRandom didn't properly initialize. SVN r1267 (trunk) --- src/thingdef/thingdef_expression.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thingdef/thingdef_expression.cpp b/src/thingdef/thingdef_expression.cpp index ebe10c467..429efb323 100644 --- a/src/thingdef/thingdef_expression.cpp +++ b/src/thingdef/thingdef_expression.cpp @@ -1253,7 +1253,7 @@ FxRandom::FxRandom(FRandom * r, FxExpression *mi, FxExpression *ma, const FScrip : FxExpression(pos) { rng = r; - if (min && max) + if (mi && ma) { min = new FxIntCast(mi); max = new FxIntCast(ma);