diff options
Diffstat (limited to 'src/shared/ents.h')
| -rw-r--r-- | src/shared/ents.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/shared/ents.h b/src/shared/ents.h index 6b1dfca..fece7bf 100644 --- a/src/shared/ents.h +++ b/src/shared/ents.h @@ -3,7 +3,7 @@ // ET_*: the only static entity types dictated by the engine... rest are gamecode dependent -enum { ET_EMPTY=0, ET_LIGHT, ET_MAPMODEL, ET_PLAYERSTART, ET_PARTICLES, ET_SOUND, ET_SPOTLIGHT, ET_GAMESPECIFIC }; +enum { ET_EMPTY=0, ET_LIGHT, ET_MAPMODEL, ET_PLAYERSTART, ET_PARTICLES, ET_SOUND, ET_GAMESPECIFIC }; // persistent map entity struct entity { @@ -35,8 +35,7 @@ enum { struct extentity : entity { int flags; // the only dynamic state of a map entity entitylight light; - extentity *attached; - extentity() : flags(0), attached(NULL) {} + extentity() : flags(0) {} bool spawned() const { return (flags&EF_SPAWNED) != 0; } void setspawned(bool val) { if(val) flags |= EF_SPAWNED; else flags &= ~EF_SPAWNED; } void setspawned() { flags |= EF_SPAWNED; } |
