- scriptified DropInventory.
This commit is contained in:
parent
09129e0113
commit
2c59172c42
4 changed files with 32 additions and 32 deletions
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue