ref: 383bd7c3c39beed8173d0e8e97a7f0219b12fe9c
parent: 687ab6c9a481ffcec476fce2add35b7ae12eee48
author: James Haley <[email protected]>
date: Thu Oct 13 05:49:25 EDT 2011
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
--- a/src/strife/r_data.c
+++ b/src/strife/r_data.c
@@ -853,7 +853,6 @@
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,7 +893,6 @@
{
door->opensound = sfx_drlwud;
door->closesound = sfx_drlwud;
-
}
// S subtype
else if(c2 == 'S')
@@ -901,7 +899,6 @@
{
door->opensound = sfx_drswud;
door->closesound = sfx_drswud;
-
}
return;
}