Previously 5 / 1.25 returned 5 due to rounding the 1.25 to int and
performing an integer division.
Now 5 / 1.25 will return 4 due to converting the 5 to floating point and
performing a floating division.
Which is a lot more what one would expect, and also matches FTEQW.
OPC->_int = OPA->_int / OPB->_int;
DISPATCH_OPCODE();
HANDLE_OPCODE(OP_DIV_IF):
- OPC->_float = OPA->_int / (prvm_int_t) OPB->_float;
+ OPC->_float = ((prvm_vec_t) OPA->_int) / OPB->_float;
DISPATCH_OPCODE();
HANDLE_OPCODE(OP_DIV_FI):
OPC->_float = OPA->_float / (prvm_vec_t) OPB->_int;