Core/Spells: Fix a warning possibly introduced in da5d0da7