From c66dae9f2c9bdf2eed3cfd32ad081a98f3940b21 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 2 Dec 2018 00:08:19 +0100 Subject: [PATCH] - this was wrong... --- src/p_user.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_user.cpp b/src/p_user.cpp index cb8d6b2e6..5beabf61e 100644 --- a/src/p_user.cpp +++ b/src/p_user.cpp @@ -955,7 +955,7 @@ AInventory *APlayerPawn::PickNewWeapon(PClassActor *ammotype) { VMValue param[] = { player->mo, ammotype }; VMReturn ret((void**)&best); - VMCall(func, ¶m, 1, &ret, 1); + VMCall(func, param, 2, &ret, 1); } return best;