diff --git a/src/Components/Modules/Script.cpp b/src/Components/Modules/Script.cpp index d8c7b955..0f1384d4 100644 --- a/src/Components/Modules/Script.cpp +++ b/src/Components/Modules/Script.cpp @@ -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; }