Fixed floats with negative values

This commit is contained in:
smallmodel 2023-08-17 19:17:16 +02:00
parent 3d20b3a232
commit 1435489a43
No known key found for this signature in database
GPG key ID: A96F163ED4891440

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;