summaryrefslogtreecommitdiffhomepage
path: root/src/ent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ent.c')
-rw-r--r--src/ent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ent.c b/src/ent.c
index 9d69bf0..4a457af 100644
--- a/src/ent.c
+++ b/src/ent.c
@@ -14,8 +14,6 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-#include <stdbool.h>
-
#include "engineapi.h"
#include "errmsg.h"
#include "feature.h"
@@ -37,7 +35,7 @@ void *ent_getedict(int idx) {
return mem_offset(*edicts, sz_edict * idx);
}
else {
- return VCALL(engserver, PEntityOfEntIndex, idx);
+ return PEntityOfEntIndex(engserver, idx);
}
}