From 78ac59a26c85ab5245810e9bf496af6515e8afe0 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Fri, 6 Dec 2013 03:59:26 +0000 Subject: Fix crash caused by Strife nicknames (thanks fabian). Subversion-branch: /branches/v2-branch Subversion-revision: 2760 --- src/strife/hu_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strife/hu_stuff.c') diff --git a/src/strife/hu_stuff.c b/src/strife/hu_stuff.c index 6ee62907..b9e13f8a 100644 --- a/src/strife/hu_stuff.c +++ b/src/strife/hu_stuff.c @@ -274,7 +274,7 @@ void HU_Start(void) // haleyjd 09/18/10: [STRIFE] nickname weirdness. if(nickname != player_names[consoleplayer]) { - if(*nickname) + if(nickname != NULL && *nickname) { DEH_printf("have one\n"); nickname = player_names[consoleplayer]; -- cgit v1.2.3