Fix one Mac compilation bug

See #6770.

This doesn't change the actual function of the code, just silences an error from the finicky mac compiler.
Merge branch 'patch-7' of https://github.com/Izicata/Cataclysm-DDA into Izicata-patch-7