aboutsummaryrefslogtreecommitdiff
path: root/src/ent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ent.c')
-rw-r--r--src/ent.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ent.c b/src/ent.c
index 2eb8e51..7a0d8fe 100644
--- a/src/ent.c
+++ b/src/ent.c
@@ -1,5 +1,5 @@
/*
- * Copyright © 2024 Michael Smith <mikesmiffy128@gmail.com>
+ * Copyright © 2025 Michael Smith <mikesmiffy128@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -127,7 +127,7 @@ static inline ctor_func findctor(const struct CEntityFactory *factory,
seencall = 0;
continue;
}
- return false;
+ return 0;
}
}
// duping NEXT_INSN macro here in the name of a nicer message
@@ -180,13 +180,12 @@ INIT {
// for PEntityOfEntIndex we don't really have to do any more init, we
// can just call the function later.
- if (has_vtidx_PEntityOfEntIndex) return true;
+ if (has_vtidx_PEntityOfEntIndex) return FEAT_OK;
if (globalvars && has_off_edicts) {
edicts = getptr_edicts(globalvars);
- return true;
+ return FEAT_OK;
}
- errmsg_warnx("not implemented for this engine");
- return false;
+ return FEAT_INCOMPAT;
}
// vi: sw=4 ts=4 noet tw=80 cc=80