Fixed floats with negative values

This commit is contained in:
smallmodel committed 2023-08-17 19:17:16 +02:00
1 parent 3d20b3a232
commit 1435489a43
1 file changed
+1 -1
+1 -1
View File
@@ -1391,7 +1391,7 @@ bool ScriptCompiler::EvalPrevValue(ScriptVariable& var)
break;
case OP_STORE_FLOAT:
intValue = GetOpcodeValue<float>(sizeof(float), sizeof(float));
floatValue = GetOpcodeValue<float>(sizeof(float), sizeof(float));
var.setFloatValue(floatValue);
return true;