- fixed message output.

This commit is contained in:
Christoph Oelckers 2018-11-24 08:41:07 +01:00
commit 3ed7f4066d
2 changed files with 4 additions and 4 deletions

View file

@ -563,7 +563,7 @@ FString cht_Morph(player_t *player, PClassActor *morphclass, bool quickundo)
FString message;
VMReturn msgret(&message);
VMValue params[3] = { player->mo, morphclass, quickundo };
VMCall(func, params, 3, nullptr, 0);
VMCall(func, params, 3, &msgret, 1);
return message;
}
return "";