Use Q_ftol for vm_interpreted
This commit is contained in:
parent
83522282f1
commit
7ac6b087af
|
|
@ -884,7 +884,7 @@ nextInstruction2:
|
|||
((float *) opStack)[opStackOfs] = (float) opStack[opStackOfs];
|
||||
goto nextInstruction;
|
||||
case OP_CVFI:
|
||||
opStack[opStackOfs] = (int) ((float *) opStack)[opStackOfs];
|
||||
opStack[opStackOfs] = Q_ftol(((float *) opStack)[opStackOfs]);
|
||||
goto nextInstruction;
|
||||
case OP_SEX8:
|
||||
opStack[opStackOfs] = (signed char) opStack[opStackOfs];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user