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. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |