summaryrefslogtreecommitdiff
path: root/src/cgame
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2009-10-03 12:00:23 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:15:36 +0000
commitcfee798a10d895fd2e11d6304236eef400e4751d (patch)
treece5b4a2b70625d7ef4bd059f5f3781ef67829cf9 /src/cgame
parent82167c83616b336d630a5e598266ed8ef4e5389d (diff)
* Remove unnecessary (and harmful) memset
Diffstat (limited to 'src/cgame')
-rw-r--r--src/cgame/cg_weapons.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index c6826962..8a95e096 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -536,8 +536,6 @@ static qboolean CG_ParseWeaponFile( const char *filename, weaponInfo_t *wi )
fileHandle_t f;
weaponMode_t weaponMode = WPM_NONE;
- Com_Memset( wi, 0, sizeof( weaponInfo_t ) );
-
// load the file
len = trap_FS_FOpenFile( filename, &f, FS_READ );
if( len < 0 )