summaryrefslogtreecommitdiff
path: root/src/ent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ent.c')
-rw-r--r--src/ent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ent.c b/src/ent.c
index 118c170..14e0788 100644
--- a/src/ent.c
+++ b/src/ent.c
@@ -21,7 +21,6 @@
#include "errmsg.h"
#include "feature.h"
#include "gamedata.h"
-#include "gametype.h"
#include "intdefs.h"
#include "langext.h"
#include "mem.h"
@@ -31,10 +30,10 @@
FEATURE()
-DECL_VFUNC_DYN(void *, PEntityOfEntIndex, int)
+DECL_VFUNC_DYN(struct VEngineServer, struct edict *, PEntityOfEntIndex, int)
-DEF_PTR_ACCESSOR(struct edict *, edicts)
-DEF_ARRAYIDX_ACCESSOR(edict)
+DEF_PTR_ACCESSOR(struct CGlobalVars, struct edict *, edicts)
+DEF_ARRAYIDX_ACCESSOR(struct edict, edict)
static struct edict **edicts = 0;