Terrain editor

vs 2013 - no conditional move instruction is generated with ternary operator