From 8a91153aeb66199ba8492ead7bbd34c0cf11658e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 14 May 2017 12:36:13 +0200 Subject: [PATCH] - Why does the Visual Studio editor hate tildes so much...? --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)