summaryrefslogtreecommitdiff
path: root/src/deh_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deh_main.c')
-rw-r--r--src/deh_main.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/deh_main.c b/src/deh_main.c
index 22391785..2c773de7 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_main.c 153 2005-10-02 23:49:01Z fraggle $
+// $Id: deh_main.c 157 2005-10-03 11:08:16Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,10 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.2 2005/10/03 11:08:16 fraggle
+// Replace end of section functions with NULLs as they arent currently being
+// used for anything.
+//
// Revision 1.1 2005/10/02 23:49:01 fraggle
// The beginnings of dehacked support
//
@@ -201,7 +205,11 @@ static void DEH_ParseContext(deh_context_t *context)
{
// end of section
- current_section->end(context, tag);
+ if (current_section->end != NULL)
+ {
+ current_section->end(context, tag);
+ }
+
//printf("end %s tag\n", current_section->name);
current_section = NULL;
}