From b137892e7067fdf0cb1973559e9d0d2eeb3dee14 Mon Sep 17 00:00:00 2001 From: Johanna Ploog Date: Fri, 15 Jan 2010 12:56:04 +0100 Subject: Fix tiles compilation. --- crawl-ref/source/directn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref') diff --git a/crawl-ref/source/directn.cc b/crawl-ref/source/directn.cc index 3ef43e4404..0998c68a8c 100644 --- a/crawl-ref/source/directn.cc +++ b/crawl-ref/source/directn.cc @@ -1124,7 +1124,7 @@ static void _draw_beam(ray_def ray, const coord_def& beam_target, int range) #ifdef USE_TILE const bool in_range = (range < 0 || grid_distance(ray.pos(), you.pos()) <= range); - tile_place_ray(moves.target, in_range); + tile_place_ray(beam_target, in_range); #endif } -- cgit v1.2.3-54-g00ecf