From 8a08fb2f6aa497d583a775cb6ddae191154a15c6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 4 Jun 2016 20:52:56 +0200 Subject: [PATCH] - fixed nullptr/bool mixup. --- src/p_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_things.cpp b/src/p_things.cpp index cad3022b0..374be69d6 100644 --- a/src/p_things.cpp +++ b/src/p_things.cpp @@ -673,7 +673,7 @@ bool P_Thing_CheckProximity(AActor *self, PClass *classname, double distance, in // We need these to check out. if (!ref || !classname || distance <= 0) - return nullptr; + return false; int counter = 0; bool result = false;