- Fixed an incorrect memset parameter in wi_stuff.cpp.

- Removed some whitespace from wi_stuff.h.
This commit is contained in:
Chris 2016-01-19 13:20:32 +00:00
parent c02d922014
commit 119c2f36b2
2 changed files with 6 additions and 7 deletions

View file

@ -1228,7 +1228,7 @@ void WI_initDeathmatchStats (void)
acceleratestage = 0; acceleratestage = 0;
memset(playerready, 0, sizeof(playerready)); memset(playerready, 0, sizeof(playerready));
memset(cnt_frags, 0, sizeof(cnt_frags)); memset(cnt_frags, 0, sizeof(cnt_frags));
memset(cnt_deaths, 0, sizeof(cnt_frags)); memset(cnt_deaths, 0, sizeof(cnt_deaths));
memset(player_deaths, 0, sizeof(player_deaths)); memset(player_deaths, 0, sizeof(player_deaths));
total_frags = 0; total_frags = 0;
total_deaths = 0; total_deaths = 0;

View file

@ -41,7 +41,6 @@ struct wbplayerstruct_t
int stime; int stime;
int frags[MAXPLAYERS]; int frags[MAXPLAYERS];
int fragcount; // [RH] Cumulative frags for this player int fragcount; // [RH] Cumulative frags for this player
}; };
struct wbstartstruct_t struct wbstartstruct_t