From 7755e7a52cbef4b9f0f17b1aac7fc6a10f1d1d30 Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Wed, 8 Sep 2010 02:58:15 +0000 Subject: + Added check if linetarget is null in P_StartDialog + More codepointers implemented Subversion-branch: /branches/strife-branch Subversion-revision: 2037 --- src/strife/p_dialog.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/strife/p_dialog.c') diff --git a/src/strife/p_dialog.c b/src/strife/p_dialog.c index 4616d0b0..53f15174 100644 --- a/src/strife/p_dialog.c +++ b/src/strife/p_dialog.c @@ -816,6 +816,8 @@ void P_DialogStart(player_t *player) dialogplayer = player; } + else + return; // check item requirements for(i = 0; i < MAXITEMREQUIREMENTS; i++) -- cgit v1.2.3