Okay, now I got a preliminary solution. I replaced the c_trace in the crosshair function with A5's trace command. That is so weird. Maybe a bug in the engine?