Fix for crash in turrets

Doubtful fix for crash when two turret shooting one bum.
Checks turret target for type before shooting.