Added enemy wall detection