- fixed nullptr/bool mixup.

This commit is contained in:
Christoph Oelckers 2016-06-04 20:52:56 +02:00
parent 9cf1d96698
commit 8a08fb2f6a

View file

@ -673,7 +673,7 @@ bool P_Thing_CheckProximity(AActor *self, PClass *classname, double distance, in
// We need these to check out. // We need these to check out.
if (!ref || !classname || distance <= 0) if (!ref || !classname || distance <= 0)
return nullptr; return false;
int counter = 0; int counter = 0;
bool result = false; bool result = false;