- remove DCoreActor::picnum's script export.

This is something we definitely do not want to export.
This commit is contained in:
Christoph Oelckers 2023-05-21 07:54:16 +02:00
parent 1b2a249243
commit f58504250c
2 changed files with 1 additions and 2 deletions

View file

@ -359,7 +359,7 @@ DEFINE_PROPERTY(clearcstat, 0, CoreActor)
//==========================================================================
DEFINE_PROPERTY(spriteset, Sssssssssssssssssssssssssssssss, CoreActor)
{
bag.Info->ActorInfo()->DefaultFlags |= DEFF_PICNUM; // this also overrides the map's picnum
bag.Info->ActorInfo()->DefaultFlags |= DEFF_PICNUM; // this also overrides the map's pic
info->ActorInfo()->SpriteSetNames.Clear();
for (int i = 0; i < PROP_PARM_COUNT; ++i)
{

View file

@ -819,7 +819,6 @@ DEFINE_ACTION_FUNCTION_NATIVE(_tspritetype, setSpritePic, tspritetype_setSpriteP
DEFINE_FIELD_NAMED(DCoreActor, spr.sectp, sector)
DEFINE_FIELD_NAMED(DCoreActor, spr.cstat, cstat)
DEFINE_FIELD_NAMED(DCoreActor, spr.cstat2, cstat2)
DEFINE_FIELD_NAMED(DCoreActor, spr.picnum, picnum)
DEFINE_FIELD_NAMED(DCoreActor, spr.statnum, statnum)
DEFINE_FIELD_NAMED(DCoreActor, spr.intangle, intangle)
DEFINE_FIELD_NAMED(DCoreActor, spr.pos, pos)