From 4d1a3a021f1adbd493dbdb4858dc20066af4e0aa Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 14 Jul 2022 21:42:04 +0100 Subject: Change some warnings to errors --- src/nosleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nosleep.c') 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); -- cgit v1.2.3