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/doom/g_game.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/doom/g_game.c') diff --git a/src/doom/g_game.c b/src/doom/g_game.c index 4a814871..1c838e92 100644 --- a/src/doom/g_game.c +++ b/src/doom/g_game.c @@ -123,7 +123,7 @@ int starttime; // for comparative timing purposes boolean viewactive; -boolean deathmatch; // only if started as net death +int deathmatch; // only if started as net death boolean netgame; // only true if packets are broadcast boolean playeringame[MAXPLAYERS]; player_t players[MAXPLAYERS]; @@ -642,8 +642,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