From 504496278b5b0d84374ec25c78dc66c9a24808ea Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Mon, 13 May 2013 02:55:48 +0000 Subject: [PATCH] - Fixed: FxBinaryInts that needed to cast the right-side parameter to an int resolved the left side instead. SVN r4265 (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 1e4065d28..d217b9555 100644 --- a/src/thingdef/thingdef_expression.cpp +++ b/src/thingdef/thingdef_expression.cpp @@ -1246,7 +1246,7 @@ FxExpression *FxBinaryInt::Resolve(FCompileContext& ctx) if (right->ValueType != VAL_Int) { right = new FxIntCast(right); - right = left->Resolve(ctx); + right = right->Resolve(ctx); } if (left == NULL || right == NULL) {