diff options
author | Chris Oelmueller <chris.oelmueller@gmail.com> | 2014-04-13 03:25:21 +0200 |
---|---|---|
committer | Shmuale Mark <shm.mark@gmail.com> | 2014-05-05 21:27:51 -0400 |
commit | 3da635bd8450af0fddbfd5c182afe593938136f2 (patch) | |
tree | 3f33a49f2a40312fec9b1cebd3a5fa09ec506ff1 /crawl-ref/source/ng-wanderer.cc | |
parent | 332536bcd766995a9ad19bd580f9ad96df1e0863 (diff) | |
download | crawl-ref-3da635bd8450af0fddbfd5c182afe593938136f2.tar.gz crawl-ref-3da635bd8450af0fddbfd5c182afe593938136f2.zip |
Rename "bow" to "shortbow"
For a clear distinction of "bows" the skill, and from "longbow" the weapon.
Diffstat (limited to 'crawl-ref/source/ng-wanderer.cc')
-rw-r--r-- | crawl-ref/source/ng-wanderer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/ng-wanderer.cc b/crawl-ref/source/ng-wanderer.cc index bc675ca02e..7a1b1f6ae5 100644 --- a/crawl-ref/source/ng-wanderer.cc +++ b/crawl-ref/source/ng-wanderer.cc @@ -71,7 +71,7 @@ static bool _give_wanderer_weapon(int & slot, int wpn_skill, int plus) break; case SK_BOWS: - sub_type = WPN_BOW; + sub_type = WPN_SHORTBOW; break; case SK_CROSSBOWS: @@ -841,7 +841,7 @@ static void _wanderer_cover_equip_holes(int & slot) for (int i = 0; i < slot; ++i) { if (you.inv[i].base_type == OBJ_WEAPONS - && you.inv[i].sub_type == WPN_BOW) + && you.inv[i].sub_type == WPN_SHORTBOW) { needs_arrows = true; break; |