diff options
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index 019d2f81d8..50ca506833 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -19,6 +19,7 @@ #include <stdio.h> #include <string.h> #include <iostream> +#include <algorithm> #include "externs.h" @@ -1103,7 +1104,7 @@ void cast_poison_ammo(void) { mprf("%s %s covered in a thin film of poison.", old_desc, (you.inv[ammo].quantity == 1) ? "is" : "are"); - + if (ammo == you.equip[EQ_WEAPON]) you.wield_change = true; } |