diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-21 12:17:29 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-07-21 12:17:29 +0000 |
commit | 9843737e73a47ef6f1da0554b7ca73018d52d345 (patch) | |
tree | 9381ef8b914bc801386f62ce2713c59c17b6a9e8 /crawl-ref/source/it_use3.cc | |
parent | b27a757b68bf8a1dcbcb9b3a5cfea5c1278c9bb4 (diff) | |
download | crawl-ref-9843737e73a47ef6f1da0554b7ca73018d52d345.tar.gz crawl-ref-9843737e73a47ef6f1da0554b7ca73018d52d345.zip |
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
Diffstat (limited to 'crawl-ref/source/it_use3.cc')
-rw-r--r-- | crawl-ref/source/it_use3.cc | 5 |
1 files changed, 3 insertions, 2 deletions
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<map_feature_marker*>(marker); grd[count_x][count_y] = featm->feat; - env.remove_marker(marker); + env_remove_marker(marker); } } } |