Consider the walls when checking enemy views

The code was copied from the iOS version (as this problem has already
been solved).
Add damage flash when player spotted