From 24312dcadd039c11e90c8fa14b69c4d3b9a7a102 Mon Sep 17 00:00:00 2001 From: Joseph Carter Date: Mon, 3 Jan 2000 09:19:02 +0000 Subject: [PATCH] Fixed bug with shareware pak file --- common/register_check.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/common/register_check.c b/common/register_check.c index 3b6909f..85c0cd9 100644 --- a/common/register_check.c +++ b/common/register_check.c @@ -38,12 +38,9 @@ void register_check () COM_FOpenFile("gfx/pop.lmp", &h); - if (!h) { - Con_Printf ("Playing shareware version.\n"); - } else { + if (h) { Cvar_Set ("registered", "1"); Con_Printf ("Playing registered version.\n"); + fclose (h); } - - fclose (h); }