From 383bd7c3c39beed8173d0e8e97a7f0219b12fe9c Mon Sep 17 00:00:00 2001 From: James Haley Date: Thu, 13 Oct 2011 09:49:25 +0000 Subject: Resolved a TODO which was just the result of a common hex-rays misinterpretation of repne loops into two memcpy's, with the second copying 0 bytes. Subversion-branch: /branches/v2-branch Subversion-revision: 2414 --- src/strife/r_data.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/strife/r_data.c') diff --git a/src/strife/r_data.c b/src/strife/r_data.c index 46138c85..9130d6d7 100644 --- a/src/strife/r_data.c +++ b/src/strife/r_data.c @@ -853,7 +853,6 @@ void R_SoundNumForDoor(vldoor_t* door) texture = textures[sides[line->sidenum[0]].toptexture]; memcpy(name, texture->name, 8); - //memcpy(&v6, texture->index, 0); // [STRIFE] todo - WHAT?! if(strncmp(name, "DOR", 3)) continue; @@ -894,14 +893,12 @@ void R_SoundNumForDoor(vldoor_t* door) { door->opensound = sfx_drlwud; door->closesound = sfx_drlwud; - } // S subtype else if(c2 == 'S') { door->opensound = sfx_drswud; door->closesound = sfx_drswud; - } return; } -- cgit v1.2.3