]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Another one
authorDale Weiler <killfieldengine@gmail.com>
Mon, 25 Nov 2013 18:26:24 +0000 (13:26 -0500)
committerDale Weiler <killfieldengine@gmail.com>
Mon, 25 Nov 2013 18:26:24 +0000 (13:26 -0500)
intrin.c

index b2ef3ed6b1b149981344fc8142e71f5c4077535c..f7975eb58342f44add16a40b12e367d099c2e533 100644 (file)
--- a/intrin.c
+++ b/intrin.c
@@ -559,7 +559,7 @@ static ast_expression *intrin_exp2(intrin_t *intrin) {
 
     vec_push(value->expression.params, arg1);
 
-    vec_push(callpow->params, (ast_expression*)fold_constgen_float(intrin->fold, 2.0f));
+    vec_push(callpow->params, (ast_expression*)intrin->fold->imm_float[3]);
     vec_push(callpow->params, (ast_expression*)arg1);
 
     /* return <callpow> */