]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_exec.c
clean up, r_farclip cvar, lit particles (optional), stuff
[xonotic/darkplaces.git] / pr_exec.c
index 6650aa96c645d22e33ebf99a436289e6bc78c786..4dd41a936b6290d25848dc90bdfb477d5d635b36 100644 (file)
--- a/pr_exec.c
+++ b/pr_exec.c
@@ -1358,6 +1358,12 @@ void PR_ExecuteProgram (func_t fnum)
                        case OP_DIV_FI:
                                OPC->_float = OPA->_float / (float) OPB->_int;
                                break;
+                       case OP_CONV_IF:
+                               OPC->_float = OPA->_int;
+                               break;
+                       case OP_CONV_FI:
+                               OPC->_int = OPA->_float;
+                               break;
                        case OP_BITAND_I:
                                OPC->_int = OPA->_int & OPB->_int;
                                break;