From 19466db77813385693cf78b8bc7d97b58dd2b14c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 24 Mar 2014 00:18:33 -0400 Subject: Fix various Clang compiler warnings. --- src/heretic/g_game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/heretic/g_game.c') diff --git a/src/heretic/g_game.c b/src/heretic/g_game.c index 5139c950..c48b9c8e 100644 --- a/src/heretic/g_game.c +++ b/src/heretic/g_game.c @@ -65,7 +65,7 @@ void D_AdvanceDemo(void); struct { - mobjtype_t type; + int type; // mobjtype_t int speed[2]; } MonsterMissileInfo[] = { { MT_IMPBALL, { 10, 20 } }, @@ -666,8 +666,8 @@ void G_DoLoadLevel(void) joyxmove = joyymove = 0; mousex = mousey = 0; sendpause = sendsave = paused = false; - memset(mousebuttons, 0, sizeof(mousebuttons)); - memset(joybuttons, 0, sizeof(joybuttons)); + memset(mousearray, 0, sizeof(mousearray)); + memset(joyarray, 0, sizeof(joyarray)); if (testcontrols) { -- cgit v1.2.3