mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed message output.
This commit is contained in:
parent
cce1bad042
commit
3ed7f4066d
2 changed files with 4 additions and 4 deletions
|
@ -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 "";
|
||||
|
|
|
@ -414,14 +414,14 @@ extend class PlayerPawn
|
|||
{
|
||||
if (!quickundo && oldclass != morphclass && MorphPlayer (player, morphclass, 0, style))
|
||||
{
|
||||
return StringTable.Localize("TXT_STRANGER");
|
||||
return StringTable.Localize("$TXT_STRANGER");
|
||||
}
|
||||
return StringTable.Localize("TXT_NOTSTRANGE");
|
||||
return StringTable.Localize("$TXT_NOTSTRANGE");
|
||||
}
|
||||
}
|
||||
else if (MorphPlayer (player, morphclass, 0, style))
|
||||
{
|
||||
return StringTable.Localize("TXT_STRANGE");
|
||||
return StringTable.Localize("$TXT_STRANGE");
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue