//CSQC Flags
#define CSQCFLAG_SOLIDITY (1<<0)
+//Save Flags (these shouldn't be here but I don't know where to put them, sorry)
+#define SAVEFLAG_DONTSAVE (1<<0)
// reset all entity fields (typically used if status changed)
#define E5_FULLUPDATE (1<<0)
int type;
char vabuf[1024];
char valuebuf[MAX_INPUTLINE];
+
+ int saveflags = (int)(PRVM_serveredictfloat(ed, saveflags));
FS_Print(f, "{\n");
- if (ed->priv.required->free)
+ if (ed->priv.required->free || saveflags & SAVEFLAG_DONTSAVE)
{
FS_Print(f, "}\n");
return;
PRVM_DECLARE_field(sounds)
PRVM_DECLARE_field(spawnflags)
PRVM_DECLARE_field(style)
+PRVM_DECLARE_field(saveflags)
PRVM_DECLARE_field(tag_entity)
PRVM_DECLARE_field(tag_index)
PRVM_DECLARE_field(takedamage)
PRVM_DECLARE_serverfieldfloat(sounds)
PRVM_DECLARE_serverfieldfloat(spawnflags)
PRVM_DECLARE_serverfieldfloat(style)
+PRVM_DECLARE_serverfieldfloat(saveflags)
PRVM_DECLARE_serverfieldfloat(tag_index)
PRVM_DECLARE_serverfieldfloat(takedamage)
PRVM_DECLARE_serverfieldfloat(team)