--- deliantra/server/server/spell_attack.C 2009/01/12 00:17:23 1.81 +++ deliantra/server/server/spell_attack.C 2009/02/21 06:30:34 1.82 @@ -837,7 +837,7 @@ * of the trap (d==0). If it is not a rune, then we don't want * to hit that person. */ - d = (dir + i) % 9; + d = dir ? absdir (dir + i) : 0; /* If it's not a rune, we don't want to blast the caster. * In that case, we have to see - if dir is specified,