commit 383bd7c3c39beed8173d0e8e97a7f0219b12fe9c
Author: James Haley <haleyjd@hotmail.com>
AuthorDate: Thu Oct 13 09:49:25 2011 +0000
Commit: James Haley <haleyjd@hotmail.com>
CommitDate: Thu Oct 13 09:49:25 2011 +0000
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(-)
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;
}