From 851b73afe3791e3f8e344fdba2008915ac28e159 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 13 Feb 2006 00:18:37 +0000 Subject: [PATCH] I'm being paranoid. Cursor should definatly work. Hopefully this'll stop the big nasty deaththreats coming from up2 :( git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1965 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- plugins/namemaker/namemaker.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/namemaker/namemaker.c b/plugins/namemaker/namemaker.c index b47a474ce..2bce99506 100644 --- a/plugins/namemaker/namemaker.c +++ b/plugins/namemaker/namemaker.c @@ -32,7 +32,10 @@ void LoadPics(void) //main bar (add cvars later) con_chars = Draw_LoadImage("conchars", false); Cvar_GetString("cl_cursor", buffer, sizeof(buffer)); - pic_cursor = Draw_LoadImage(buffer, false); + if (*buffer) + pic_cursor = Draw_LoadImage(buffer, false); + else + pic_cursor = NULL; } void DrawChar(unsigned int c, int x, int y)