mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- this was wrong...
This commit is contained in:
parent
e9df56198c
commit
c66dae9f2c
1 changed files with 1 additions and 1 deletions
|
@ -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, ¶m, 1, &ret, 1);
|
VMCall(func, param, 2, &ret, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
return best;
|
return best;
|
||||||
|
|
Loading…
Reference in a new issue