summaryrefslogtreecommitdiff
path: root/src/deh_thing.c
diff options
context:
space:
mode:
authorSimon Howard2005-10-09 23:52:28 +0000
committerSimon Howard2005-10-09 23:52:28 +0000
commit75296da3be09db81667890442a8d56c91b1857dd (patch)
tree77b56536ebda4402b1b9fd9feb4d89dd2acc752e /src/deh_thing.c
parent577b422bd080d6bb7bc6de13edf0fcc71b47a0ff (diff)
downloadchocolate-doom-75296da3be09db81667890442a8d56c91b1857dd.tar.gz
chocolate-doom-75296da3be09db81667890442a8d56c91b1857dd.tar.bz2
chocolate-doom-75296da3be09db81667890442a8d56c91b1857dd.zip
Fix DEH_Warning call
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 188
Diffstat (limited to 'src/deh_thing.c')
-rw-r--r--src/deh_thing.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/deh_thing.c b/src/deh_thing.c
index b9fb37a5..3c6457aa 100644
--- a/src/deh_thing.c
+++ b/src/deh_thing.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: deh_thing.c 175 2005-10-08 20:54:16Z fraggle $
+// $Id: deh_thing.c 188 2005-10-09 23:52:28Z fraggle $
//
// Copyright(C) 2005 Simon Howard
//
@@ -21,6 +21,9 @@
// 02111-1307, USA.
//
// $Log$
+// Revision 1.5 2005/10/09 23:52:28 fraggle
+// Fix DEH_Warning call
+//
// Revision 1.4 2005/10/08 20:54:16 fraggle
// Proper dehacked error/warning framework. Catch a load more errors.
//
@@ -95,7 +98,7 @@ static void *DEH_ThingStart(deh_context_t *context, char *line)
if (thing_number < 0 || thing_number >= NUMMOBJTYPES)
{
- DEH_Warning("Invalid thing number: %i", thing_number);
+ DEH_Warning(context, "Invalid thing number: %i", thing_number);
return NULL;
}