Use Q_ftol for vm_interpreted
This commit is contained in:
parent
83522282f1
commit
7ac6b087af
1 changed files with 1 additions and 1 deletions
|
@ -884,7 +884,7 @@ nextInstruction2:
|
||||||
((float *) opStack)[opStackOfs] = (float) opStack[opStackOfs];
|
((float *) opStack)[opStackOfs] = (float) opStack[opStackOfs];
|
||||||
goto nextInstruction;
|
goto nextInstruction;
|
||||||
case OP_CVFI:
|
case OP_CVFI:
|
||||||
opStack[opStackOfs] = (int) ((float *) opStack)[opStackOfs];
|
opStack[opStackOfs] = Q_ftol(((float *) opStack)[opStackOfs]);
|
||||||
goto nextInstruction;
|
goto nextInstruction;
|
||||||
case OP_SEX8:
|
case OP_SEX8:
|
||||||
opStack[opStackOfs] = (signed char) opStack[opStackOfs];
|
opStack[opStackOfs] = (signed char) opStack[opStackOfs];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue