diff --git a/src/p_map.cpp b/src/p_map.cpp index 5a5a10126..5ffcbc423 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -2764,7 +2764,7 @@ bool P_CheckMove(AActor *thing, const DVector2 &pos, int flags) double newz = thing->Z(); auto f1 = thing->flags & MF_PICKUP; - thing->flags &= MF_PICKUP; + thing->flags &= ~MF_PICKUP; auto res = P_CheckPosition(thing, pos, tm); thing->flags |= f1; if (!res)