diff options
author | Simon Howard | 2014-03-24 00:18:33 -0400 |
---|---|---|
committer | Simon Howard | 2014-03-24 00:18:33 -0400 |
commit | 19466db77813385693cf78b8bc7d97b58dd2b14c (patch) | |
tree | 47a31cfb8ac8ae0dadacdfa6906a0abb4f4d5c91 /src/heretic/g_game.c | |
parent | 42faefce1fd03f5d613bf709d3c14925ee560064 (diff) | |
download | chocolate-doom-19466db77813385693cf78b8bc7d97b58dd2b14c.tar.gz chocolate-doom-19466db77813385693cf78b8bc7d97b58dd2b14c.tar.bz2 chocolate-doom-19466db77813385693cf78b8bc7d97b58dd2b14c.zip |
Fix various Clang compiler warnings.
Diffstat (limited to 'src/heretic/g_game.c')
-rw-r--r-- | src/heretic/g_game.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |