Fix angering monsters with non-hero magic rays
Can't use gc.context.mon_moving to check if the ray was caused by hero, as some rays can happen while hero is moving in response to their action - for example a bolt of lightning from a god. dobuzz() uses positive type values for magic rays caused by hero, so just use that.
This commit is contained in:
Reference in New Issue
Block a user