Fire from a building
Nope, you just get the TEM of the target hex and any hinderances between your hex and that hex. The terrain of the hex you are in does not generally matter (with many exceptions, of course, the main one being firing from SMOKE).
Ethan