Patch by: @Samulis Differential Revision: https://code.wildfiregames.com/D3108 This was SVN commit r24382.