diff options
author | Eino Keskitalo <evktalo@users.sourceforge.net> | 2010-07-29 22:19:01 +0300 |
---|---|---|
committer | Eino Keskitalo <evktalo@users.sourceforge.net> | 2010-07-30 18:08:05 +0300 |
commit | 804322c1c6c70c34a238c2aa7ddeba82af1dac84 (patch) | |
tree | 4222aae79eb967c1c032cc997664f4d5d429067a /crawl-ref/source/map_knowledge.cc | |
parent | 25e948e397746911762b7f2627f9902de9fdfd8e (diff) | |
download | crawl-ref-804322c1c6c70c34a238c2aa7ddeba82af1dac84.tar.gz crawl-ref-804322c1c6c70c34a238c2aa7ddeba82af1dac84.zip |
Fix tiles compile (with rob).
Wizard-casting Detect Items seems to crash when it finds something.
Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/map_knowledge.cc')
-rw-r--r-- | crawl-ref/source/map_knowledge.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/map_knowledge.cc b/crawl-ref/source/map_knowledge.cc index 93dc823a4b..fd8efbb6fe 100644 --- a/crawl-ref/source/map_knowledge.cc +++ b/crawl-ref/source/map_knowledge.cc @@ -148,7 +148,8 @@ void set_terrain_seen( int x, int y ) cell->flags |= MAP_SEEN_FLAG; #ifdef USE_TILE - tiles.update_minimap(x, y); + coord_def pos(x, y); + tiles.update_minimap(pos); #endif } |