From 9843737e73a47ef6f1da0554b7ca73018d52d345 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Sat, 21 Jul 2007 12:17:29 +0000 Subject: Updated level-design.txt. Moved map markers to mapmark.cc. Added support for timer markers that remove a feature after a certain timeout. Need to hook up messaging to Lua. Added bazaars (need more bazaar layouts). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1899 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/it_use3.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/it_use3.cc') diff --git a/crawl-ref/source/it_use3.cc b/crawl-ref/source/it_use3.cc index 15296e5a3e..68d39d60fe 100644 --- a/crawl-ref/source/it_use3.cc +++ b/crawl-ref/source/it_use3.cc @@ -32,6 +32,7 @@ #include "it_use2.h" #include "itemname.h" #include "itemprop.h" +#include "mapmark.h" #include "misc.h" #include "monplace.h" #include "monstuff.h" @@ -571,7 +572,7 @@ bool evoke_wielded( void ) opened_gates++; map_marker *marker = - env.find_marker(coord_def(count_x, count_y), + env_find_marker(coord_def(count_x, count_y), MAT_FEATURE); if (marker) @@ -579,7 +580,7 @@ bool evoke_wielded( void ) map_feature_marker *featm = dynamic_cast(marker); grd[count_x][count_y] = featm->feat; - env.remove_marker(marker); + env_remove_marker(marker); } } } -- cgit v1.2.3-54-g00ecf