summaryrefslogtreecommitdiff
path: root/src/am_map.c
diff options
context:
space:
mode:
authorSimon Howard2005-09-04 18:44:23 +0000
committerSimon Howard2005-09-04 18:44:23 +0000
commitf2ed07417429e1e813761fd005f39af737779fbe (patch)
tree4b5e5f242da3fe5706ae1b6982b923d0d6c7a90e /src/am_map.c
parentc47c4ce0f7fa832f3aabe2ebb3bd5de45d93651a (diff)
downloadchocolate-doom-f2ed07417429e1e813761fd005f39af737779fbe.tar.gz
chocolate-doom-f2ed07417429e1e813761fd005f39af737779fbe.tar.bz2
chocolate-doom-f2ed07417429e1e813761fd005f39af737779fbe.zip
shut up compiler warnings
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 71
Diffstat (limited to 'src/am_map.c')
-rw-r--r--src/am_map.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/am_map.c b/src/am_map.c
index 3be51d92..7ccd7ccf 100644
--- a/src/am_map.c
+++ b/src/am_map.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: am_map.c 37 2005-08-04 18:42:15Z fraggle $
+// $Id: am_map.c 71 2005-09-04 18:44:23Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -23,6 +23,9 @@
//
//
// $Log$
+// Revision 1.5 2005/09/04 18:44:22 fraggle
+// shut up compiler warnings
+//
// Revision 1.4 2005/08/04 18:42:15 fraggle
// Silence compiler warnings
//
@@ -40,7 +43,7 @@
//
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: am_map.c 37 2005-08-04 18:42:15Z fraggle $";
+static const char rcsid[] = "$Id: am_map.c 71 2005-09-04 18:44:23Z fraggle $";
#include <stdio.h>
@@ -969,6 +972,11 @@ AM_clipMline
tmp.y = fl->a.y + (dy*(-fl->a.x))/dx;
tmp.x = 0;
}
+ else
+ {
+ tmp.x = 0;
+ tmp.y = 0;
+ }
if (outside == outcode1)
{