ref: 78ac59a26c85ab5245810e9bf496af6515e8afe0
parent: b662a3d8e84ca176b82406dbc4c28075413eb9d9
author: Simon Howard <[email protected]>
date: Thu Dec 5 22:59:26 EST 2013
Fix crash caused by Strife nicknames (thanks fabian). Subversion-branch: /branches/v2-branch Subversion-revision: 2760
--- a/src/strife/hu_stuff.c
+++ b/src/strife/hu_stuff.c
@@ -274,7 +274,7 @@
// 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];