diff --git a/pcmove.cpp b/pcmove.cpp index 0f18dd61..9c2807fc 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -1094,6 +1094,9 @@ bool pcmove::move_if_okay() { return false; } + if(getOLR(c2->item, c2->land) == olrDangerous && !checkonly && warningprotection(XLAT("Collecting %the1 in %the2 can be dangerous -- are you sure?", c2->item, c2->land))) + return false; + if(switchplace_prevent(cwt.at, c2, *this)) return false; if(!checkonly && warningprotection_hit(do_we_stab_a_friend(mi, moPlayer)))