diff options
author | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-29 13:04:17 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@wybt.net> | 2010-12-29 13:04:17 +0300 |
commit | 163785cb0e9d2de941f0a9b4fd4958cf67890984 (patch) | |
tree | 7e7c226759c3d5554678097e3096bc33e08ab183 /crawl-ref/source/l_dgnlvl.cc | |
parent | a8579851cca3e5b22d864cb75d9d88c662753423 (diff) | |
download | crawl-ref-163785cb0e9d2de941f0a9b4fd4958cf67890984.tar.gz crawl-ref-163785cb0e9d2de941f0a9b4fd4958cf67890984.zip |
Remove shop_chance from branch-data.h.
Only dgn.br_has_shops used it, and that is not used anywhere in dat as far as
grep can see.
The chances are now in dat/des/builder/shops.des anyway.
Diffstat (limited to 'crawl-ref/source/l_dgnlvl.cc')
-rw-r--r-- | crawl-ref/source/l_dgnlvl.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crawl-ref/source/l_dgnlvl.cc b/crawl-ref/source/l_dgnlvl.cc index db54f7d018..c93aca7944 100644 --- a/crawl-ref/source/l_dgnlvl.cc +++ b/crawl-ref/source/l_dgnlvl.cc @@ -26,7 +26,6 @@ PLUARET(type, expr); \ BRANCHFN(floorcol, number, br.floor_colour) BRANCHFN(rockcol, number, br.rock_colour) -BRANCHFN(has_shops, boolean, br.shop_chance > 0) BRANCHFN(has_uniques, boolean, br.has_uniques) BRANCHFN(parent_branch, string, br.parent_branch == NUM_BRANCHES @@ -127,7 +126,6 @@ const struct luaL_reg dgn_level_dlib[] = { { "br_floorcol", dgn_br_floorcol }, { "br_rockcol", dgn_br_rockcol }, -{ "br_has_shops", dgn_br_has_shops }, { "br_has_uniques", dgn_br_has_uniques }, { "br_parent_branch", dgn_br_parent_branch }, |