It would be usefull to have separate flags for maps and terrains with the c_trace function as below..

IGNORE_MAPS - Ignores all map entities.
IGNORE_TERRAIN - Ignores all terrain entities.

Obviously there are ways around it, like using the new IGNORE_FLAG2 flag, but it would seem logical to separate those two entities for ray casting. especially if you were tracing for terrain lightmapping