diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-07 11:31:12 +0300 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-07 18:42:53 +1000 |
commit | 2f21ea04c4aa2a807ea9f446b808f1826d6a66cf (patch) | |
tree | d53b03eb729afc56cf9e0c75f74bd570c144291c /crawl-ref/source/item_use.cc | |
parent | f2a54d7ab10bd5bef162023c0659d6922b5bfa04 (diff) | |
download | crawl-ref-2f21ea04c4aa2a807ea9f446b808f1826d6a66cf.tar.gz crawl-ref-2f21ea04c4aa2a807ea9f446b808f1826d6a66cf.zip |
Replace player_weapon with player::weapon.
Signed-off-by: Jude Brown <bookofjude@users.sourceforge.net>
Diffstat (limited to 'crawl-ref/source/item_use.cc')
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 8b9b0ec052..7868fc939f 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -429,7 +429,7 @@ void warn_shield_penalties() return; // Warnings are limited to rods, bows, and quarterstaves at the moment. - const item_def *weapon = player_weapon(); + const item_def *weapon = you.weapon(); if (!weapon) return; |