- this was wrong...

This commit is contained in:
Christoph Oelckers 2018-12-02 00:08:19 +01:00
parent e9df56198c
commit c66dae9f2c

View file

@ -955,7 +955,7 @@ AInventory *APlayerPawn::PickNewWeapon(PClassActor *ammotype)
{ {
VMValue param[] = { player->mo, ammotype }; VMValue param[] = { player->mo, ammotype };
VMReturn ret((void**)&best); VMReturn ret((void**)&best);
VMCall(func, &param, 1, &ret, 1); VMCall(func, param, 2, &ret, 1);
} }
return best; return best;