summaryrefslogtreecommitdiff
path: root/src/strife
diff options
context:
space:
mode:
authorJames Haley2011-10-13 09:49:25 +0000
committerJames Haley2011-10-13 09:49:25 +0000
commit383bd7c3c39beed8173d0e8e97a7f0219b12fe9c (patch)
tree48de55e3f84521bc9d5073d8369d313259f5f291 /src/strife
parent687ab6c9a481ffcec476fce2add35b7ae12eee48 (diff)
downloadchocolate-doom-383bd7c3c39beed8173d0e8e97a7f0219b12fe9c.tar.gz
chocolate-doom-383bd7c3c39beed8173d0e8e97a7f0219b12fe9c.tar.bz2
chocolate-doom-383bd7c3c39beed8173d0e8e97a7f0219b12fe9c.zip
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
Diffstat (limited to 'src/strife')
-rw-r--r--src/strife/r_data.c3
1 files changed, 0 insertions, 3 deletions
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;
}