From 94cd3f20fe1698ce718714aeeb202419bac4c496 Mon Sep 17 00:00:00 2001 From: Chris Taylor Date: Fri, 25 Feb 2005 09:53:17 +0000 Subject: [PATCH] check properly whether there's a briefing --- ChangeLog | 2 ++ main/titles.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a9ff5da5..359bb236 100644 --- a/ChangeLog +++ b/ChangeLog @@ -30,6 +30,8 @@ * main/gauges.c: draw the bomb count in OpenGL, but not when a bomb is selected as a secondary weapon + * main/titles.c: check properly whether there's a briefing + 2005-02-11 Bradley Bell * debian/control: build-dep on libphysfs-dev diff --git a/main/titles.c b/main/titles.c index a1986e21..7c5f9eb8 100644 --- a/main/titles.c +++ b/main/titles.c @@ -1,4 +1,4 @@ -/* $Id: titles.c,v 1.35 2004-11-28 07:32:12 btb Exp $ */ +/* $Id: titles.c,v 1.36 2005-02-25 09:53:17 chris Exp $ */ /* THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO @@ -1420,7 +1420,7 @@ void do_briefing_screens(char *filename,int level_num) mprintf ((0,"Trying briefing screen <%s>\n",filename)); - if (!filename) + if (!filename || !*filename) return; if (!load_screen_text(filename, &Briefing_text)) -- 2.39.2