Comments and fixes by: @bb Fixes: #6197 Differential Revision: https://code.wildfiregames.com/D4083 This was SVN commit r26531.