- scriptified DropInventory.

This commit is contained in:
Christoph Oelckers 2018-12-01 17:18:26 +01:00
commit 2c59172c42
4 changed files with 32 additions and 32 deletions

View file

@ -549,7 +549,7 @@ FString cht_Morph(player_t *player, PClassActor *morphclass, bool quickundo)
void cht_SetInv(player_t *player, const char *string, int amount, bool beyond)
{
IFVIRTUALPTR(player->mo, APlayerPawn, CheatSetInv)
IFVIRTUALPTR(player->mo, APlayerPawn, CheatTakeInv)
{
FString message = string;
VMValue params[] = { player->mo, &message, amount, beyond };