Descent 2, but not Descent 1, had a useless test in render_side: type == QUAD ? 0 : type == TRI_13 ? 1 : 0 This is useless since, if type is not QUAD, the second expression will apply. If type is QUAD, then the type is not TRI_13, so the second expression would choose the same result as the first. The extra comparison does not save any work, so it is useless. Remove it. |
||
---|---|---|
common | ||
contrib | ||
d1x-rebirth | ||
d2x-rebirth | ||
Documentation | ||
similar | ||
.gitattributes | ||
.gitignore | ||
COPYING.txt | ||
GPL-3.txt | ||
INSTALL.markdown | ||
SConstruct |