Fix getting arguments

This commit is contained in:
Federico Cecchetto
2021-05-29 22:32:31 +02:00
parent 90151c0b38
commit dc2d8135cd
3 changed files with 4 additions and 3 deletions

View File

@ -53,7 +53,7 @@ namespace gsc
for (auto i = 0; i < game::scr_VmPub->outparamcount; i++)
{
const auto value = game::scr_VmPub->top[i];
const auto value = game::scr_VmPub->top[-i];
args.push_back(value);
}