[Script] Small adjustment to variable type

This commit is contained in:
FutureRave 2021-11-15 17:44:23 +00:00
parent c3dd5015e1
commit 6eaf72e86f
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -391,7 +391,7 @@ namespace Components
std::memmove(&Game::scrVmPub->top[-4], &Game::scrVmPub->top[-5], sizeof(Game::VariableValue) * 6);
Game::scrVmPub->top += 1;
Game::scrVmPub->top[-6].type = Game::VAR_FLOAT;
Game::scrVmPub->top[-6].u.floatValue = 0;
Game::scrVmPub->top[-6].u.floatValue = 0.0f;
++Game::scrVmPub->outparamcount;
}