small fix for damage calculation in map