summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/autojump.c4
-rw-r--r--src/demorec.c4
-rw-r--r--src/l4dwarp.c2
-rw-r--r--src/nosleep.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/autojump.c b/src/autojump.c
index 33b31b8..284dd85 100644
--- a/src/autojump.c
+++ b/src/autojump.c
@@ -72,11 +72,11 @@ static bool unprot(void *gm) {
bool autojump_init(void) {
// TODO(featgen): auto-check these factories
if (!factory_client || !factory_server) {
- errmsg_warnx("missing required factories");
+ errmsg_errorx("missing required factories");
return false;
}
if (!has_vtidx_CheckJumpButton || !has_off_mv) {
- errmsg_warnx("missing gamedata entries for this engine");
+ errmsg_errorx("missing gamedata entries for this engine");
return false;
}
diff --git a/src/demorec.c b/src/demorec.c
index a0c85a1..17b1d08 100644
--- a/src/demorec.c
+++ b/src/demorec.c
@@ -209,7 +209,7 @@ static inline bool find_recmembers(void *stoprecording) {
bool demorec_init(void) {
if (!has_vtidx_StopRecording) {
- errmsg_warnx("missing gamedata entries for this engine");
+ errmsg_errorx("missing gamedata entries for this engine");
return false;
}
cmd_record = con_findcmd("record");
@@ -346,7 +346,7 @@ DECL_VFUNC_DYN(int, GetEngineBuildNumber)
bool demorec_custom_init(void) {
if (!has_vtidx_GetEngineBuildNumber || !has_vtidx_RecordPacket) {
- errmsg_warnx("custom: missing gamedata entries for this engine");
+ errmsg_errorx("custom: missing gamedata entries for this engine");
return false;
}
diff --git a/src/l4dwarp.c b/src/l4dwarp.c
index 7a77427..76aa230 100644
--- a/src/l4dwarp.c
+++ b/src/l4dwarp.c
@@ -51,7 +51,7 @@ DEF_CCMD_HERE_UNREG(sst_l4d_testwarp, "Simulate a bot warping to you",
bool l4dwarp_init(void) {
if (!GAMETYPE_MATCHES(L4Dx)) return false;
if (!has_off_entpos || !has_off_eyeang || !has_vtidx_Teleport) {
- errmsg_warnx("missing gamedata entries for this engine");
+ errmsg_errorx("missing gamedata entries for this engine");
return false;
}
con_reg(sst_l4d_testwarp);
diff --git a/src/nosleep.c b/src/nosleep.c
index c849f04..5618ba9 100644
--- a/src/nosleep.c
+++ b/src/nosleep.c
@@ -42,11 +42,11 @@ bool nosleep_init(void) {
con_reg(engine_no_focus_sleep);
// TODO(featgen): auto-check these factories
if (!factory_inputsystem) {
- errmsg_warnx("missing required factories");
+ errmsg_errorx("missing required factories");
return false;
}
if (!has_vtidx_SleepUntilInput) {
- errmsg_warnx("missing gamedata entries for this engine");
+ errmsg_errorx("missing gamedata entries for this engine");
return false;
}
void *insys = factory_inputsystem("InputSystemVersion001", 0);