- more exporting of AInventory.

This commit is contained in:
Christoph Oelckers 2017-01-19 20:56:31 +01:00
commit 1750ded7c4
14 changed files with 290 additions and 396 deletions

View file

@ -584,7 +584,7 @@ static void ParseInsideDecoration (Baggage &bag, AActor *defaults,
else if (def == DEF_Pickup && sc.Compare ("PickupMessage"))
{
sc.MustGetString ();
static_cast<PClassInventory *>(bag.Info)->PickupMessage = sc.String;
static_cast<PClassInventory *>(bag.Info)->PickupMsg = sc.String;
}
else if (def == DEF_Pickup && sc.Compare ("Respawns"))
{

View file

@ -1802,7 +1802,7 @@ DEFINE_CLASS_PROPERTY(pickupmessage, T, Inventory)
{
PROP_STRING_PARM(str, 0);
assert(info->IsKindOf(RUNTIME_CLASS(PClassInventory)));
static_cast<PClassInventory *>(info)->PickupMessage = str;
static_cast<PClassInventory *>(info)->PickupMsg = str;
}
//==========================================================================