summaryrefslogtreecommitdiffhomepage
path: root/src/nosleep.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-14 21:42:04 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-07-23 18:51:28 +0100
commit4d1a3a021f1adbd493dbdb4858dc20066af4e0aa (patch)
treed2c1b76d63dd6c9a7b74ed097ddbe6f3029586a4 /src/nosleep.c
parent3e435bd8e7a64148f7acc9c8bc2fe0493eb09cdf (diff)
Change some warnings to errors
Diffstat (limited to 'src/nosleep.c')
-rw-r--r--src/nosleep.c4
1 files changed, 2 insertions, 2 deletions
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);