Other updates
- Moved modelDef to modelData - Replaced TArray.Deletes with TArray.Pop - Made a few other optimizations in other places in the action function
This commit is contained in:
parent
e827e9b086
commit
83a23c6525
5 changed files with 32 additions and 25 deletions
|
|
@ -356,10 +356,10 @@ void AActor::Serialize(FSerializer &arc)
|
|||
A("cameraheight", CameraHeight)
|
||||
A("camerafov", CameraFOV)
|
||||
A("tag", Tag)
|
||||
A("visiblestartangle",VisibleStartAngle)
|
||||
A("visibleendangle",VisibleEndAngle)
|
||||
A("visiblestartpitch",VisibleStartPitch)
|
||||
A("visibleendpitch",VisibleEndPitch)
|
||||
A("visiblestartangle", VisibleStartAngle)
|
||||
A("visibleendangle", VisibleEndAngle)
|
||||
A("visiblestartpitch", VisibleStartPitch)
|
||||
A("visibleendpitch", VisibleEndPitch)
|
||||
A("woundhealth", WoundHealth)
|
||||
A("rdfactor", RadiusDamageFactor)
|
||||
A("selfdamagefactor", SelfDamageFactor)
|
||||
|
|
@ -376,8 +376,7 @@ void AActor::Serialize(FSerializer &arc)
|
|||
A("lightlevel", LightLevel)
|
||||
A("userlights", UserLights)
|
||||
A("WorldOffset", WorldOffset)
|
||||
A("modelData", modelData)
|
||||
A("modelDef", modelDef);
|
||||
("modelData", modelData);
|
||||
|
||||
SerializeTerrain(arc, "floorterrain", floorterrain, &def->floorterrain);
|
||||
SerializeArgs(arc, "args", args, def->args, special);
|
||||
|
|
@ -1365,7 +1364,8 @@ bool AActor::Massacre ()
|
|||
void DActorModelData::Serialize(FSerializer& arc)
|
||||
{
|
||||
Super::Serialize(arc);
|
||||
arc ("modelIDs", modelIDs)
|
||||
arc("modelDef", modelDef)
|
||||
("modelIDs", modelIDs)
|
||||
("skinIDs", skinIDs)
|
||||
("hasModel", hasModel);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue