Could be condensed to:

```C++

else if(C.mob.loc in hear_and_objects || C.mob.loc.loc in hear_and_objects)

```