diff options
author | Neil Moore <neil@s-z.org> | 2014-05-02 14:38:19 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-05-02 14:56:40 -0400 |
commit | 82bdbcafbe04c4aaeb7e480da9018919f3dcb1b5 (patch) | |
tree | 8eaf845ad7b45d27b5c856664eb7019c5a46aa08 /crawl-ref/source/spl-goditem.cc | |
parent | 4bbc29f47b2cce0cc308b0856e8936941f6cb290 (diff) | |
download | crawl-ref-82bdbcafbe04c4aaeb7e480da9018919f3dcb1b5.tar.gz crawl-ref-82bdbcafbe04c4aaeb7e480da9018919f3dcb1b5.zip |
Remove another unused argument to item scroll functions.
Diffstat (limited to 'crawl-ref/source/spl-goditem.cc')
-rw-r--r-- | crawl-ref/source/spl-goditem.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-goditem.cc b/crawl-ref/source/spl-goditem.cc index 52dae47dc4..565b549bf0 100644 --- a/crawl-ref/source/spl-goditem.cc +++ b/crawl-ref/source/spl-goditem.cc @@ -45,7 +45,7 @@ #include "traps.h" #include "view.h" -int identify(int item_slot, bool alreadyknown, string *pre_msg) +int identify(bool alreadyknown, string *pre_msg) { int id_used = 1; int identified = 0; @@ -54,6 +54,7 @@ int identify(int item_slot, bool alreadyknown, string *pre_msg) if (one_chance_in(5)) id_used += (coinflip()? 1 : 2); + int item_slot = -1; do { if (item_slot == -1) |