summaryrefslogtreecommitdiff
path: root/src/am_map.c
diff options
context:
space:
mode:
authorRussell Rice2006-09-21 11:13:28 +0000
committerRussell Rice2006-09-21 11:13:28 +0000
commit6339c4cbeb608b008eafe0b1e358285ae08ef902 (patch)
tree10ea17c49b4d38a8b5ec769ccee965d30ab1a08c /src/am_map.c
parent16c1bc056105cee72e86b3dda1cc323f1be2c7b2 (diff)
downloadchocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.gz
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.bz2
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.zip
Fix a lot of warnings (for fussy compilers) and one always-true check
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
Diffstat (limited to 'src/am_map.c')
-rw-r--r--src/am_map.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/am_map.c b/src/am_map.c
index ead062ab..c218d3ba 100644
--- a/src/am_map.c
+++ b/src/am_map.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: am_map.c 162 2005-10-04 21:41:42Z fraggle $
+// $Id: am_map.c 641 2006-09-21 11:13:28Z rtc_marine $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -49,7 +49,7 @@
//
//-----------------------------------------------------------------------------
-static const char rcsid[] = "$Id: am_map.c 162 2005-10-04 21:41:42Z fraggle $";
+static const char rcsid[] = "$Id: am_map.c 641 2006-09-21 11:13:28Z rtc_marine $";
#include <stdio.h>
@@ -486,7 +486,7 @@ void AM_changeWindowLoc(void)
void AM_initVariables(void)
{
int pnum;
- static event_t st_notify = { ev_keyup, AM_MSGENTERED };
+ static event_t st_notify = { ev_keyup, AM_MSGENTERED, 0, 0 };
automapactive = true;
fb = screens[0];
@@ -587,7 +587,7 @@ void AM_LevelInit(void)
//
void AM_Stop (void)
{
- static event_t st_notify = { 0, ev_keyup, AM_MSGEXITED };
+ static event_t st_notify = { 0, ev_keyup, AM_MSGEXITED, 0 };
AM_unloadPics();
automapactive = false;