summaryrefslogtreecommitdiff
path: root/src/shared/ents.h
diff options
context:
space:
mode:
authorxolatile2025-08-07 00:32:29 +0200
committerxolatile2025-08-07 00:32:29 +0200
commit4c8dfb375b4b30dbb6079f9d68024980d81ffa20 (patch)
treed7a8164758e9d5cfc5d5c239bccbe45ad19c9da6 /src/shared/ents.h
parent0a1172b75f571685c264a8b9d8ee224bbf11381f (diff)
downloadxolatile-badassbug-4c8dfb375b4b30dbb6079f9d68024980d81ffa20.tar.xz
xolatile-badassbug-4c8dfb375b4b30dbb6079f9d68024980d81ffa20.tar.zst
More cleanups...
Diffstat (limited to 'src/shared/ents.h')
-rw-r--r--src/shared/ents.h5
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; }