Cast through wall

Hello I wanted to know if their a way to make that we can’t cast anymore on a target that are hidden after a tree or orgrimmar fence, I don’t know where to look (object.cpp? Another part of the code or in the dbc?) Thanks for helping :smiley:

not blizzlike.

So on 3.3.5 blizzlike we could cast through walls/fences etc…? It sound weird